Details

Time bar (total: 5.5s)

sample29.0ms

Algorithm
intervals
Results
7.0ms253×body80valid
2.0ms15×body1280valid
2.0ms14×body640valid
1.0ms14×body320valid
0.0msbody160valid

simplify95.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519125
645815
750015

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.4b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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:
23.0ms
(/ (- y z) (- a z))
0.0ms
(fma (/ (- y z) (- a z)) (- t x) x)

series170.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune235.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 3.5b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- y z) (- a z))
1.4b
(* (/ (- y z) (- a z)) (- t x))
2.1b
(+ (* (/ (- y z) (- a z)) (- t x)) x)

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
97×*-un-lft-identity
51×add-cube-cbrt times-frac
36×prod-diff
31×associate-*l*
23×distribute-lft-out-- difference-of-squares
22×distribute-rgt-in associate-+l+ distribute-lft-in
10×add-exp-log add-cbrt-cube
pow1 flip3-- associate-*r* associate-/r* flip-- associate-/l* add-log-exp
sub-neg associate-/r/
expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-times associate-*r/ div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative fma-def frac-2neg flip3-+ div-sub pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-+
Counts
3 → 170
Calls
3 calls:
26.0ms
(/ (- y z) (- a z))
65.0ms
(* (/ (- y z) (- a z)) (- t x))
27.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

series531.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ (- y z) (- a z))
302.0ms
(* (/ (- y z) (- a z)) (- t x))
176.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

simplify91.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06821497
126571254
250021252

prune499.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 3.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- y z) (- a z))
0.0b
(/ (- y z) (- a z))
1.3b
(* t (/ (- y z) (- a z)))
2.6b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
113×add-sqr-sqrt
108×*-un-lft-identity
76×times-frac
40×add-cube-cbrt
34×distribute-lft-out-- difference-of-squares
31×associate-*r*
13×add-exp-log add-cbrt-cube
10×associate-/r* associate-/l*
pow1 associate-/r/
flip3-- flip--
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv div-exp associate-*l* div-inv
frac-2neg div-sub prod-exp clear-num cbrt-unprod unswap-sqr
associate-*r/ pow-prod-down *-commutative fma-udef
Counts
4 → 170
Calls
4 calls:
23.0ms
(/ (- y z) (- a z))
26.0ms
(/ (- y z) (- a z))
44.0ms
(* t (/ (- y z) (- a z)))
0.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series246.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (- y z) (- a z))
51.0ms
(/ (- y z) (- a z))
65.0ms
(* t (/ (- y z) (- a z)))
76.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
03811106
114801040
250011040

prune586.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 3.5b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
1.3b
(* t (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))))
2.6b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite322.0ms

Algorithm
rewrite-expression-head
Rules
65×add-exp-log
35×prod-exp
26×add-cbrt-cube
15×div-exp cbrt-unprod
11×add-sqr-sqrt *-un-lft-identity
10×cbrt-prod
pow1
cbrt-undiv add-cube-cbrt
expm1-log1p-u rec-exp cbrt-div 1-exp associate-*r/ log1p-expm1-u add-log-exp
associate-*l* pow-prod-down
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
frac-times associate-*r* associate-*l/ *-commutative fma-udef
Counts
4 → 85
Calls
4 calls:
4.0ms
(cbrt (- a z))
4.0ms
(cbrt (- a z))
310.0ms
(* t (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))))
0.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series558.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(cbrt (- a z))
162.0ms
(cbrt (- a z))
156.0ms
(* t (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))))
78.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0521950
11951762
25002708

prune348.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 3.5b

regimes329.0ms

Accuracy

10.7% (4.4b remaining)

Error of 7.6b against oracle of 3.2b and baseline of 8.1b

bsearch114.0ms

Steps
ItersRangePoint
8
3.973711067844833e-181
1.899668376806128e-178
9.069910076084178e-181
9
-1.9829183326978805e-199
-5.946979300064839e-206
-1.997200158359207e-203

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03119
13119

end0.0ms

sample780.0ms

Algorithm
intervals
Results
246.0ms7687×body80valid
54.0ms495×body640valid
46.0ms422×body320valid
41.0ms290×body1280valid
15.0ms260×body160valid
2.0msbody2560valid