Details

Time bar (total: 8.9s)

sample25.0ms

Algorithm
intervals
Results
8.0ms240×body80valid
1.0ms16×body320valid
1.0msbody1280valid
1.0ms10×body640valid
1.0ms10×body160valid

simplify122.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0226
1526
21096
31956
44456
58286
614346
725206
848306
950016

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.1b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- z t) y)
3.5b
(- (+ x y) (/ (* (- z t) y) (- a t)))
10.3b
(/ (* (- z t) y) (- a t))

rewrite26.0ms

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

series202.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(* (- z t) y)
109.0ms
(- (+ x y) (/ (* (- z t) y) (- a t)))
63.0ms
(/ (* (- z t) y) (- a t))

simplify51.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0383461
11704422
25001422

prune202.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- a t))
0.5b
(* (cbrt (- a t)) (cbrt (- a t)))
3.9b
(* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ y (cbrt (- a t))))
7.9b
(- (+ x y) (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ y (cbrt (- a t)))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
54×*-un-lft-identity
50×cbrt-prod
38×associate-*r*
36×times-frac
30×add-cube-cbrt
28×cbrt-div
27×add-exp-log
25×associate-*l*
18×add-cbrt-cube
15×flip3-- flip--
13×pow1
11×frac-times distribute-lft-out--
10×swap-sqr associate-/r/ unswap-sqr
prod-exp cbrt-unprod add-log-exp difference-of-squares
cbrt-undiv pow1/3 associate-*r/ div-exp associate-*l/
frac-sub
flip3-+ pow-prod-down flip-+
diff-log pow-sqr *-commutative pow-prod-up div-inv
pow2 sub-neg pow-plus associate--l+ sum-log
Counts
4 → 168
Calls
4 calls:
3.0ms
(cbrt (- a t))
11.0ms
(* (cbrt (- a t)) (cbrt (- a t)))
31.0ms
(* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ y (cbrt (- a t))))
6.0ms
(- (+ x y) (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ y (cbrt (- a t)))))

series488.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(cbrt (- a t))
129.0ms
(* (cbrt (- a t)) (cbrt (- a t)))
100.0ms
(* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ y (cbrt (- a t))))
114.0ms
(- (+ x y) (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ y (cbrt (- a t)))))

simplify140.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (117.0ms)

IterNodesCost
08862068
143261890
250011779

prune560.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 2.2b

localize25.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt y)
0.5b
(cbrt (cbrt (- a t)))
1.3b
(* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t))))))
9.8b
(- (+ x y) (* (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))) (/ (cbrt y) (cbrt (cbrt (- a t))))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
40×add-exp-log
36×cbrt-div
25×add-sqr-sqrt
22×add-cbrt-cube
19×cbrt-prod frac-times
17×associate-*l*
16×times-frac associate-*r* associate-/r/
15×*-un-lft-identity associate-*l/ prod-exp cbrt-unprod
14×flip3-- frac-sub flip--
12×cbrt-undiv div-exp
11×add-cube-cbrt associate-*r/
add-log-exp
flip3-+ flip-+
pow1 unswap-sqr
pow1/3 diff-log div-inv distribute-lft-out-- difference-of-squares
sub-neg pow-prod-down associate--l+ sum-log *-commutative
Counts
4 → 126
Calls
4 calls:
1.0ms
(cbrt y)
4.0ms
(cbrt (cbrt (- a t)))
27.0ms
(* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t))))))
7.0ms
(- (+ x y) (* (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))) (/ (cbrt y) (cbrt (cbrt (- a t))))))

series810.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(cbrt y)
159.0ms
(cbrt (cbrt (- a t)))
290.0ms
(* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t))))))
176.0ms
(- (+ x y) (* (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))) (/ (cbrt y) (cbrt (cbrt (- a t))))))

simplify144.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
010962979
146152605
250012594

prune719.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 2.2b

localize31.0ms

Local error

Found 4 expressions with local error:

3.7b
(cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))
3.7b
(cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))
3.7b
(cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))
9.1b
(- (+ x y) (* (* (* (cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t))))))) (cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))) (cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))) (/ (cbrt y) (cbrt (cbrt (- a t))))))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
645×frac-times
585×cbrt-div
429×associate-*l/
257×associate-*r/
254×frac-sub
127×flip3-+ flip-+
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube
cbrt-prod pow1/3
diff-log
sub-neg flip3-- associate--l+ sum-log flip--
Counts
4 → 304
Calls
4 calls:
24.0ms
(cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))
19.0ms
(cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))
20.0ms
(cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))
34.0ms
(- (+ x y) (* (* (* (cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t))))))) (cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))) (cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))) (/ (cbrt y) (cbrt (cbrt (- a t))))))

series2.5s

Counts
4 → 12
Calls
4 calls:
779.0ms
(cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))
799.0ms
(cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))
783.0ms
(cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))
180.0ms
(- (+ x y) (* (* (* (cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t))))))) (cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))) (cbrt (* (/ (- z t) (* (cbrt (- a t)) (cbrt (- a t)))) (/ (* (cbrt y) (cbrt y)) (cbrt (* (cbrt (- a t)) (cbrt (- a t)))))))) (/ (cbrt y) (cbrt (cbrt (- a t))))))

simplify249.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
0369028291
1500127938

prune1.1s

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 2.2b

regimes403.0ms

Accuracy

13.5% (6.3b remaining)

Error of 10.0b against oracle of 3.7b and baseline of 11.0b

bsearch110.0ms

Steps
ItersRangePoint
8
7.104008511116258e+116
1.1379081657348373e+120
4.559000097065075e+119
10
-1.756824163423226e+101
-6.317617841719785e+84
-5.529076343113199e+92

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03729
13729

end0.0ms

sample681.0ms

Algorithm
intervals
Results
243.0ms7376×body80valid
58.0ms464×body640valid
40.0ms241×body1280valid
39.0ms373×body320valid
15.0ms240×body160valid
6.0ms19×body2560valid