Details

Time bar (total: 1.9s)

sample23.0ms

Algorithm
intervals
Results
8.0ms94×body640valid
4.0ms64×body320valid
2.0ms70×body80valid
1.0ms28×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
094
1124
2124

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.7b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
4.2b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
28×times-frac
27×add-sqr-sqrt
15×add-cube-cbrt
distribute-lft-out--
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp difference-of-squares
div-inv associate-/l*
pow1 associate-/r/
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-- flip-+
Counts
2 → 58
Calls
2 calls:
5.0ms
(/ 1.0 (+ x 1.0))
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series10.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(/ 1.0 (+ x 1.0))
4.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify153.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0266392
1898369
24171367
35002367

prune98.0ms

Filtered
64 candidates to 47 candidates (26.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New61364
Fresh000
Picked101
Done000
Total62365

Merged error: 0.5b

Counts
65 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (pow x 4))
0.4b
(/ 1 (pow x 3))
0.6b
(/ 1 (pow x 2))
12.3b
(- (/ 1 (pow x 3)) (+ (/ 1 (pow x 2)) (/ 1 (pow x 4))))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
98×times-frac
93×*-un-lft-identity
85×add-sqr-sqrt
65×add-cube-cbrt
38×unpow-prod-down
31×add-exp-log
27×associate-/r*
18×div-exp
16×div-inv
14×cube-prod sqr-pow
13×distribute-lft-out--
11×distribute-lft-out
10×add-cbrt-cube
pow-to-exp rec-exp 1-exp pow-exp associate-/l* add-log-exp difference-of-squares
pow1 cube-mult unpow3 unpow2
cbrt-undiv pow-flip frac-2neg clear-num frac-sub inv-pow
diff-log
sub-neg flip3-- flip3-+ frac-add sum-log flip-- flip-+ associate--r+
Counts
4 → 222
Calls
4 calls:
4.0ms
(/ 1 (pow x 4))
5.0ms
(/ 1 (pow x 3))
5.0ms
(/ 1 (pow x 2))
56.0ms
(- (/ 1 (pow x 3)) (+ (/ 1 (pow x 2)) (/ 1 (pow x 4))))

series11.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ 1 (pow x 4))
3.0ms
(/ 1 (pow x 3))
2.0ms
(/ 1 (pow x 2))
3.0ms
(- (/ 1 (pow x 3)) (+ (/ 1 (pow x 2)) (/ 1 (pow x 4))))

simplify104.0ms

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
06091343
131521069
250011044

prune212.0ms

Filtered
234 candidates to 86 candidates (63.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2331234
Fresh022
Picked101
Done000
Total2343237

Merged error: 0b

Counts
237 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow x -2) (/ 1 (pow x 4)))
0.1b
(/ 1 (pow x 4))
0.4b
(/ 1 (pow x 3))
12.3b
(- (/ 1 (pow x 3)) (+ (pow x -2) (/ 1 (pow x 4))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt times-frac
63×*-un-lft-identity
45×add-cube-cbrt
26×unpow-prod-down
22×add-exp-log
19×associate-/r*
14×cube-prod
12×div-exp
11×add-log-exp
10×sqr-pow
difference-of-squares
add-cbrt-cube div-inv
pow-to-exp rec-exp 1-exp pow-exp distribute-lft-out associate-/l* distribute-lft-out--
pow1 cube-mult unpow3
cbrt-undiv pow-flip frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+ inv-pow
+-commutative sub-neg flip3-- flip-- associate--r+
Counts
4 → 170
Calls
4 calls:
12.0ms
(+ (pow x -2) (/ 1 (pow x 4)))
4.0ms
(/ 1 (pow x 4))
5.0ms
(/ 1 (pow x 3))
31.0ms
(- (/ 1 (pow x 3)) (+ (pow x -2) (/ 1 (pow x 4))))

series22.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (pow x -2) (/ 1 (pow x 4)))
3.0ms
(/ 1 (pow x 4))
3.0ms
(/ 1 (pow x 3))
4.0ms
(- (/ 1 (pow x 3)) (+ (pow x -2) (/ 1 (pow x 4))))

simplify73.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04831064
12296850
25002824

prune187.0ms

Filtered
182 candidates to 76 candidates (58.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1820182
Fresh022
Picked011
Done000
Total1823185

Merged error: 0b

Counts
185 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
3.4b
(- x (+ x 1.0))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log add-cbrt-cube
12×*-un-lft-identity
add-sqr-sqrt
add-log-exp
pow1 add-cube-cbrt prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l* associate-*l/
associate-*r*
flip3-- flip3-+ diff-log associate-*r/ associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out distribute-lft-out--
sub-neg frac-2neg times-frac pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv associate-/l* associate--r+ difference-of-squares unswap-sqr
Counts
3 → 63
Calls
3 calls:
5.0ms
(* (+ x 1.0) x)
12.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
6.0ms
(- x (+ x 1.0))

series8.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* (+ x 1.0) x)
3.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
1.0ms
(- x (+ x 1.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0345395
12045325
25003316

prune71.0ms

Filtered
72 candidates to 49 candidates (31.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New71172
Fresh101
Picked011
Done011
Total72375

Merged error: 0b

Counts
75 → 3

regimes25.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample640.0ms

Algorithm
intervals
Results
269.0ms2906×body640valid
131.0ms1913×body320valid
53.0ms2241×body80valid
44.0ms940×body160valid

Profiling

Loading profile data...