Details

Time bar (total: 4.9s)

sample27.0ms

Algorithm
intervals
Results
8.0ms250×body80valid
2.0ms18×body640valid
2.0ms11×body1280valid
1.0ms13×body320valid
1.0ms10×body160valid

simplify83.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519075
645605
750015

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.9b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y x) (- a t))
16.2b
(fma (/ (- y x) (- a t)) (- z t) x)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt *-un-lft-identity
25×times-frac
14×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num fma-udef div-inv
Counts
2 → 64
Calls
2 calls:
13.0ms
(/ (- y x) (- a t))
0.0ms
(fma (/ (- y x) (- a t)) (- z t) x)

series149.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(/ (- y x) (- a t))
93.0ms
(fma (/ (- y x) (- a t)) (- z t) x)

simplify73.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0269450
1734425
22488423
35002423

prune245.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 7.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- a t))
0.2b
(* (- y x) (/ 1 (- a t)))
16.0b
(fma (* (- y x) (/ 1 (- a t))) (- z t) x)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
40×*-un-lft-identity
32×times-frac
23×add-cube-cbrt
21×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1
associate-*l* associate-/r*
flip3-- div-exp prod-exp associate-/r/ flip--
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative fma-udef inv-pow
Counts
3 → 105
Calls
3 calls:
6.0ms
(/ 1 (- a t))
24.0ms
(* (- y x) (/ 1 (- a t)))
0.0ms
(fma (* (- y x) (/ 1 (- a t))) (- z t) x)

series190.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ 1 (- a t))
57.0ms
(* (- y x) (/ 1 (- a t)))
96.0ms
(fma (* (- y x) (/ 1 (- a t))) (- z t) x)

simplify57.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0351602
11495525
25001481

prune303.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 7.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- y x) (- a t))
4.6b
(+ (* (- z t) (/ (- y x) (- a t))) x)
6.4b
(* (- z t) (/ (- y x) (- a t)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
73×*-un-lft-identity
51×times-frac
31×associate-*r*
27×add-cube-cbrt
23×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube
pow1 flip3-- associate-*l* associate-/r* flip-- associate-/l* add-log-exp
associate-/r/
expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-times div-exp associate-*l/ prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative fma-def frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num sum-log *-commutative flip-+
Counts
3 → 126
Calls
3 calls:
12.0ms
(/ (- y x) (- a t))
14.0ms
(+ (* (- z t) (/ (- y x) (- a t))) x)
33.0ms
(* (- z t) (/ (- y x) (- a t)))

series349.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(/ (- y x) (- a t))
160.0ms
(+ (* (- z t) (/ (- y x) (- a t))) x)
134.0ms
(* (- z t) (/ (- y x) (- a t)))

simplify77.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0490904
12049854
25001852

prune398.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 4.7b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite236.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log
17×add-sqr-sqrt
16×cbrt-div
14×*-un-lft-identity add-cbrt-cube
13×associate-*r*
10×cbrt-prod flip3-- flip--
prod-exp cbrt-unprod
add-cube-cbrt associate-/r/
pow1 frac-times add-log-exp
associate-*l*
cbrt-undiv expm1-log1p-u div-exp associate-*l/ log1p-expm1-u
associate-*r/ distribute-lft-out-- difference-of-squares
times-frac pow1/3 unswap-sqr
+-commutative fma-def flip3-+ pow-prod-down sum-log *-commutative flip-+ div-inv
Counts
4 → 94
Calls
4 calls:
2.0ms
(cbrt (- y x))
2.0ms
(cbrt (- y x))
58.0ms
(* (- z t) (/ (* (cbrt (- y x)) (cbrt (- y x))) (* (cbrt (- a t)) (cbrt (- a t)))))
170.0ms
(+ (* (* (- z t) (/ (* (cbrt (- y x)) (cbrt (- y x))) (* (cbrt (- a t)) (cbrt (- a t))))) (/ (cbrt (- y x)) (cbrt (- a t)))) x)

series809.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(cbrt (- y x))
164.0ms
(cbrt (- y x))
311.0ms
(* (- z t) (/ (* (cbrt (- y x)) (cbrt (- y x))) (* (cbrt (- a t)) (cbrt (- a t)))))
162.0ms
(+ (* (* (- z t) (/ (* (cbrt (- y x)) (cbrt (- y x))) (* (cbrt (- a t)) (cbrt (- a t))))) (/ (cbrt (- y x)) (cbrt (- a t)))) x)

simplify94.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07051461
127161237
250021163

prune455.0ms

Pruning

16 alts after pruning (13 fresh and 3 done)

Merged error: 4.7b

regimes461.0ms

Accuracy

35.4% (5.3b remaining)

Error of 9.2b against oracle of 3.9b and baseline of 12.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04037
14037

end0.0ms

sample700.0ms

Algorithm
intervals
Results
253.0ms7793×body80valid
65.0ms466×body640valid
46.0ms292×body1280valid
36.0ms412×body320valid
16.0ms262×body160valid
3.0ms15×body2560valid