Details

Time bar (total: 4.8s)

sample36.0ms

Algorithm
intervals
Results
15.0ms250×body80valid
4.0ms13×body1280valid
3.0ms11×body640valid
2.0ms10×body320valid
1.0msbody160valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519125
645815
750015

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 9.5b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series157.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune198.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.3b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite69.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:
12.0ms
(/ (- y z) (- a z))
14.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)
36.0ms
(* (/ (- y z) (- a z)) (- t x))

series512.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06821497
126571254
250021252

prune414.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 3.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- y z) (- a z))
0.0b
(/ (- y z) (- a z))
1.8b
(* t (/ (- y z) (- a z)))
3.0b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite56.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:
12.0ms
(/ (- y z) (- a z))
12.0ms
(/ (- y z) (- a z))
26.0ms
(* t (/ (- y z) (- a z)))
0.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series232.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ (- y z) (- a z))
45.0ms
(/ (- y z) (- a z))
64.0ms
(* t (/ (- y z) (- a z)))
74.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify48.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
03811106
114801040
250011040

prune503.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 2.9b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- y z) (- a z))
0.3b
(* (- y z) (/ 1 (- a z)))
1.8b
(* t (/ (- y z) (- a z)))
5.0b
(fma (- x) (* (- y z) (/ 1 (- a z))) x)

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
91×*-un-lft-identity
68×times-frac
52×associate-*r*
38×add-cube-cbrt
26×distribute-lft-out-- difference-of-squares
20×add-exp-log
16×add-cbrt-cube
pow1 associate-*l*
flip3-- prod-exp associate-/r/ flip--
associate-/r* associate-/l* unswap-sqr
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u add-log-exp
cbrt-undiv div-inv
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
rec-exp frac-2neg 1-exp div-sub clear-num un-div-inv fma-udef
Counts
4 → 168
Calls
4 calls:
12.0ms
(/ (- y z) (- a z))
23.0ms
(* (- y z) (/ 1 (- a z)))
24.0ms
(* t (/ (- y z) (- a z)))
0.0ms
(fma (- x) (* (- y z) (/ 1 (- a z))) x)

series228.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ (- y z) (- a z))
49.0ms
(* (- y z) (/ 1 (- a z)))
64.0ms
(* t (/ (- y z) (- a z)))
69.0ms
(fma (- x) (* (- y z) (/ 1 (- a z))) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05751049
12563950
25002930

prune482.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 2.9b

regimes315.0ms

Accuracy

10.8% (4.3b remaining)

Error of 7.8b against oracle of 3.5b and baseline of 8.3b

bsearch136.0ms

Steps
ItersRangePoint
7
6.878868262964724e-189
8.381974673226785e-187
4.249119525194024e-188
10
-1.0079355577464942e-127
-1.318076215244674e-137
-5.066922348712068e-130

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03315
13315

end0.0ms

sample1.1s

Algorithm
intervals
Results
477.0ms7729×body80valid
113.0ms494×body640valid
77.0ms419×body320valid
72.0ms252×body1280valid
36.0ms287×body160valid
4.0ms10×body2560valid