Details

Time bar (total: 6.5s)

sample29.0ms

Algorithm
intervals
Results
8.0ms273×body80valid
7.0ms241×body80nan

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0215
1514
2864
31264
41514
51694
61854
71874
81874

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (sqrt z) y x)
0.2b
(/ (* (fma (sqrt z) y x) 1.0) 2.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv associate-/l*
Counts
2 → 33
Calls
2 calls:
0.0ms
(fma (sqrt z) y x)
3.0ms
(/ (* (fma (sqrt z) y x) 1.0) 2.0)

series132.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(fma (sqrt z) y x)
68.0ms
(/ (* (fma (sqrt z) y x) 1.0) 2.0)

simplify110.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0191219
1691184
23882184
35001176

prune110.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.3b

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma (sqrt z) y x)
0.2b
(/ 1 (/ 2.0 (* (fma (sqrt z) y x) 1.0)))
0.3b
(/ 2.0 (* (fma (sqrt z) y x) 1.0))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
29×add-exp-log
21×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-cbrt-cube
14×div-exp
associate-/r*
cbrt-undiv
div-inv associate-/l*
pow1 prod-exp
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
frac-2neg clear-num cbrt-unprod
pow-flip associate-/r/ fma-udef inv-pow
Counts
3 → 91
Calls
3 calls:
0.0ms
(fma (sqrt z) y x)
6.0ms
(/ 1 (/ 2.0 (* (fma (sqrt z) y x) 1.0)))
3.0ms
(/ 2.0 (* (fma (sqrt z) y x) 1.0))

series236.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(fma (sqrt z) y x)
66.0ms
(/ 1 (/ 2.0 (* (fma (sqrt z) y x) 1.0)))
110.0ms
(/ 2.0 (* (fma (sqrt z) y x) 1.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0350691
11582590
25001551

prune188.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (sqrt z) y x)
0.2b
(/ 1 (* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt 2.0) 1.0)))
0.4b
(* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt 2.0) 1.0))
0.7b
(/ (sqrt 2.0) (fma (sqrt z) y x))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
69×times-frac
62×add-exp-log
47×add-cube-cbrt *-un-lft-identity
36×sqrt-prod add-cbrt-cube
27×div-exp
22×associate-*r* associate-*l*
16×prod-exp
14×cbrt-undiv
pow1 associate-/l* unswap-sqr
cbrt-unprod
rec-exp 1-exp
expm1-log1p-u associate-/r* log1p-expm1-u div-inv add-log-exp
associate-/r/
frac-times pow-flip frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num
*-commutative fma-udef inv-pow
Counts
4 → 171
Calls
4 calls:
0.0ms
(fma (sqrt z) y x)
18.0ms
(/ 1 (* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt 2.0) 1.0)))
22.0ms
(* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt 2.0) 1.0))
3.0ms
(/ (sqrt 2.0) (fma (sqrt z) y x))

series842.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(fma (sqrt z) y x)
302.0ms
(/ 1 (* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt 2.0) 1.0)))
292.0ms
(* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt 2.0) 1.0))
186.0ms
(/ (sqrt 2.0) (fma (sqrt z) y x))

simplify76.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06681632
131751325
250021313

prune407.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt (sqrt 2.0)) (sqrt 1.0))) (/ (sqrt (sqrt 2.0)) (sqrt 1.0))))
0.3b
(* (* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt (sqrt 2.0)) (sqrt 1.0))) (/ (sqrt (sqrt 2.0)) (sqrt 1.0)))
0.3b
(* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt (sqrt 2.0)) (sqrt 1.0)))
0.7b
(/ (sqrt 2.0) (fma (sqrt z) y x))

rewrite224.0ms

Algorithm
rewrite-expression-head
Rules
217×sqrt-prod
196×add-exp-log
182×add-sqr-sqrt
179×times-frac
116×associate-*r*
112×add-cbrt-cube
108×add-cube-cbrt *-un-lft-identity
79×div-exp
76×prod-exp
42×cbrt-undiv
40×cbrt-unprod
23×associate-*l*
21×unswap-sqr
17×pow1
11×frac-times rec-exp 1-exp associate-*l/
associate-/l*
associate-*r/ pow-prod-down associate-/r/
div-inv
expm1-log1p-u associate-/r* log1p-expm1-u add-log-exp
pow-flip
frac-2neg clear-num *-commutative
inv-pow
Counts
4 → 336
Calls
4 calls:
98.0ms
(/ 1 (* (* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt (sqrt 2.0)) (sqrt 1.0))) (/ (sqrt (sqrt 2.0)) (sqrt 1.0))))
60.0ms
(* (* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt (sqrt 2.0)) (sqrt 1.0))) (/ (sqrt (sqrt 2.0)) (sqrt 1.0)))
44.0ms
(* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt (sqrt 2.0)) (sqrt 1.0)))
3.0ms
(/ (sqrt 2.0) (fma (sqrt z) y x))

series2.2s

Counts
4 → 12
Calls
4 calls:
518.0ms
(/ 1 (* (* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt (sqrt 2.0)) (sqrt 1.0))) (/ (sqrt (sqrt 2.0)) (sqrt 1.0))))
783.0ms
(* (* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt (sqrt 2.0)) (sqrt 1.0))) (/ (sqrt (sqrt 2.0)) (sqrt 1.0)))
751.0ms
(* (/ (sqrt 2.0) (fma (sqrt z) y x)) (/ (sqrt (sqrt 2.0)) (sqrt 1.0)))
192.0ms
(/ (sqrt 2.0) (fma (sqrt z) y x))

simplify63.0ms

Algorithm
egg-herbie
Counts
348 → 348
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012525110
150014171

prune702.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

regimes121.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
0104
1104

end0.0ms

sample825.0ms

Algorithm
intervals
Results
243.0ms8555×body80valid
235.0ms8501×body80nan