Details

Time bar (total: 8.4s)

sample102.0ms

Algorithm
intervals
Results
25.0ms52×body1280valid
20.0ms43×body10240exit
12.0ms44×body640valid
6.0ms112×body80valid
5.0ms28×body320valid
3.0ms85×body80nan
3.0msbody2560valid
2.0ms12×body640nan
2.0ms19×body160valid
1.0msbody1280nan
1.0msbody320nan
0.0msbody160nan

simplify213.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1357
2537
3817
41217
52507
63147
75327
89087
913977
1015537
1118927
1246827
1350017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
1.8b
(log (+ (- 1.0 y) (* y (exp z))))
4.1b
(+ (- 1.0 y) (* y (exp z)))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
12×times-frac
11×associate-+l+
prod-diff
pow1 add-log-exp
add-exp-log
fma-def log-pow add-cbrt-cube
log-div associate-/l*
expm1-log1p-u log-prod flip3-+ associate-/r* flip-+ log1p-expm1-u
div-sub sum-log
cbrt-undiv +-commutative associate-+l- sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 82
Calls
3 calls:
56.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
21.0ms
(log (+ (- 1.0 y) (* y (exp z))))
36.0ms
(+ (- 1.0 y) (* y (exp z)))

series274.0ms

Counts
3 → 9
Calls
3 calls:
159.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
76.0ms
(log (+ (- 1.0 y) (* y (exp z))))
38.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0450843
11824715
25002691

prune343.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 3.8b

localize13.0ms

Local error

Found 3 expressions with local error:

3.0b
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
7.7b
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)
8.6b
(* (pow z 2) y)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
10×add-exp-log
times-frac
associate-*l*
add-cbrt-cube
unpow-prod-down unswap-sqr
pow1 expm1-log1p-u associate-*r* prod-exp associate-/r* log1p-expm1-u associate-/l* add-log-exp
unpow2 sqr-pow
cbrt-undiv pow-to-exp frac-2neg div-exp pow-exp clear-num *-commutative cbrt-unprod fma-udef div-inv
Counts
3 → 68
Calls
3 calls:
0.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
5.0ms
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)
12.0ms
(* (pow z 2) y)

series174.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
94.0ms
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)
18.0ms
(* (pow z 2) y)

simplify145.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (138.0ms)

IterNodesCost
0227586
1791528
24529528
35001524

prune293.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 3.8b

localize15.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ 1 (/ t (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))))
3.0b
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
7.6b
(/ t (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))))
8.6b
(* (pow z 2) y)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
63×add-sqr-sqrt
57×add-cube-cbrt *-un-lft-identity
22×add-exp-log
16×associate-/r*
13×add-cbrt-cube
div-exp associate-*l*
div-inv associate-/l*
pow1
cbrt-undiv expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp unswap-sqr
associate-*r* prod-exp
rec-exp frac-2neg 1-exp clear-num unpow2 sqr-pow
pow-to-exp pow-flip pow-exp associate-/r/ *-commutative cbrt-unprod fma-udef inv-pow
Counts
4 → 146
Calls
4 calls:
10.0ms
(/ 1 (/ t (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))))
0.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
7.0ms
(/ t (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))))
12.0ms
(* (pow z 2) y)

series412.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(/ 1 (/ t (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))))
65.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
179.0ms
(/ t (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))))
19.0ms
(* (pow z 2) y)

simplify69.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05201785
126251634
250021547

prune475.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 3.7b

localize19.0ms

Local error

Found 4 expressions with local error:

8.6b
(* (pow z 2) y)
18.0b
(cbrt (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
18.0b
(cbrt (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
18.0b
(cbrt (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
34×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity
27×times-frac
add-exp-log
associate-*l*
add-cbrt-cube
pow1 expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp unswap-sqr
cbrt-div pow1/3 associate-*r* prod-exp div-inv
unpow2 sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod
Counts
4 → 101
Calls
4 calls:
12.0ms
(* (pow z 2) y)
2.0ms
(cbrt (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
5.0ms
(cbrt (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
3.0ms
(cbrt (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))

series946.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (pow z 2) y)
309.0ms
(cbrt (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
308.0ms
(cbrt (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
309.0ms
(cbrt (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))

simplify46.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03391572
110501474
250011459

prune580.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 3.7b

regimes671.0ms

Accuracy

74.6% (4.1b remaining)

Error of 8.8b against oracle of 4.7b and baseline of 20.9b

bsearch146.0ms

Steps
ItersRangePoint
8
2.6474833247400647e-96
1.762045633081938e-93
4.549364555403628e-95
8
-8.744032506619758
-0.007402571928667657
-0.012438934411162209

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04642
14642

end0.0ms

sample3.2s

Algorithm
intervals
Results
778.0ms1506×body1280valid
758.0ms1549×body10240exit
432.0ms1541×body640valid
209.0ms3504×body80valid
161.0ms920×body320valid
97.0ms73×body2560valid
87.0ms2515×body80nan
53.0ms491×body160valid
51.0ms267×body640nan
33.0ms114×body1280nan
23.0ms184×body320nan
11.0ms99×body160nan