Details

Time bar (total: 6.3s)

sample96.0ms

Algorithm
intervals
Results
28.0ms49×body1280valid
16.0ms61×body640valid
12.0ms25×body10240exit
6.0ms97×body80valid
4.0ms24×body320valid
3.0msbody2560valid
2.0ms23×body160valid
2.0ms68×body80nan
2.0ms10×body640nan
1.0msbody1280nan
1.0ms25×body80overflowed
0.0msbody160nan
0.0msbody320nan

simplify218.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.6b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (exp z))
0.0b
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
2.6b
(log (+ (- 1.0 y) (* y (exp z))))
2.8b
(+ (- 1.0 y) (* y (exp z)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×*-un-lft-identity
23×add-cube-cbrt
12×times-frac
11×pow1 associate-+l+
prod-diff add-log-exp
add-exp-log add-cbrt-cube
fma-def log-pow
expm1-log1p-u log-div log1p-expm1-u associate-/l*
log-prod flip3-+ associate-*r* associate-*l* associate-/r* flip-+
div-sub sum-log
cbrt-undiv +-commutative associate-+l- sub-neg frac-2neg diff-log div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 102
Calls
4 calls:
5.0ms
(* y (exp z))
24.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
9.0ms
(log (+ (- 1.0 y) (* y (exp z))))
15.0ms
(+ (- 1.0 y) (* y (exp z)))

series285.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* y (exp z))
154.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
74.0ms
(log (+ (- 1.0 y) (* y (exp z))))
35.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify58.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0499918
12002785
25001761

prune379.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
1.8b
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
5.5b
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)
8.1b
(* (pow z 2) y)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
52×*-un-lft-identity
50×add-cube-cbrt
39×prod-diff
37×times-frac
11×add-exp-log
associate-*l* add-cbrt-cube
add-log-exp
pow1 expm1-log1p-u unpow-prod-down log1p-expm1-u div-inv unswap-sqr
fma-neg associate-*r* prod-exp associate-/r* associate-/l*
unpow2 difference-of-squares sqr-pow
cbrt-undiv pow-to-exp sub-neg flip3-- frac-2neg diff-log div-exp pow-exp clear-num *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out--
Counts
4 → 127
Calls
4 calls:
7.0ms
(- x (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
0.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
2.0ms
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)
6.0ms
(* (pow z 2) y)

series298.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(- x (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
60.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
95.0ms
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)
21.0ms
(* (pow z 2) y)

simplify71.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05453031
119541985
250011748

prune404.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 5.6b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- x (+ (* 1.0 (/ (* z y) t)) (/ (log 1.0) t)))
4.4b
(/ (* z y) t)

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt
prod-diff
add-exp-log add-cbrt-cube add-log-exp
times-frac fma-neg associate-/r*
pow1 cbrt-undiv expm1-log1p-u diff-log div-exp log1p-expm1-u
sub-neg flip3-- frac-2neg prod-exp clear-num sum-log flip-- cbrt-unprod div-inv associate-/l* associate--r+ distribute-lft-out-- difference-of-squares
Counts
2 → 53
Calls
2 calls:
39.0ms
(- x (+ (* 1.0 (/ (* z y) t)) (/ (log 1.0) t)))
3.0ms
(/ (* z y) t)

series106.0ms

Counts
2 → 6
Calls
2 calls:
87.0ms
(- x (+ (* 1.0 (/ (* z y) t)) (/ (log 1.0) t)))
19.0ms
(/ (* z y) t)

simplify39.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0261704
11021433
25001422

prune182.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 4.7b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (+ (* 1.0 (/ 1 (/ t (* z y)))) (/ (log 1.0) t)))
0.6b
(/ 1 (/ t (* z y)))
4.1b
(/ t (* z y))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
30×add-sqr-sqrt *-un-lft-identity
29×add-exp-log
28×add-cube-cbrt
17×add-cbrt-cube
14×div-exp
prod-diff
associate-/r* add-log-exp
cbrt-undiv
div-inv associate-/l*
pow1 prod-exp
expm1-log1p-u rec-exp fma-neg 1-exp log1p-expm1-u
frac-2neg diff-log clear-num cbrt-unprod
sub-neg flip3-- pow-flip sum-log associate-/r/ flip-- associate--r+ distribute-lft-out-- inv-pow difference-of-squares
Counts
3 → 111
Calls
3 calls:
61.0ms
(- x (+ (* 1.0 (/ 1 (/ t (* z y)))) (/ (log 1.0) t)))
6.0ms
(/ 1 (/ t (* z y)))
3.0ms
(/ t (* z y))

series165.0ms

Counts
3 → 9
Calls
3 calls:
120.0ms
(- x (+ (* 1.0 (/ 1 (/ t (* z y)))) (/ (log 1.0) t)))
22.0ms
(/ 1 (/ t (* z y)))
23.0ms
(/ t (* z y))

simplify56.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04331108
11807748
25002693

prune247.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 4.7b

regimes598.0ms

Accuracy

63.7% (4.8b remaining)

Error of 8.8b against oracle of 3.9b and baseline of 17.2b

bsearch62.0ms

Steps
ItersRangePoint
6
-5.629504045830355e-12
-1.3960179899419418e-12
-3.6327701783805246e-12

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03423
13423

end0.0ms

sample2.8s

Algorithm
intervals
Results
757.0ms1439×body1280valid
461.0ms1566×body640valid
395.0ms802×body10240exit
219.0ms3586×body80valid
168.0ms912×body320valid
93.0ms2531×body80nan
90.0ms70×body2560valid
51.0ms459×body160valid
47.0ms239×body640nan
35.0ms122×body1280nan
34.0ms762×body80overflowed
26.0ms193×body320nan
10.0ms120×body160nan