Details

Time bar (total: 5.8s)

sample107.0ms

Algorithm
intervals
Results
26.0ms51×body10240exit
25.0ms48×body1280valid
15.0ms51×body640valid
8.0ms125×body80valid
4.0ms21×body320valid
3.0ms88×body80nan
3.0msbody2560valid
2.0msbody640nan
1.0ms10×body160valid
1.0msbody1280nan
1.0msbody320nan
0.0msbody160nan

simplify220.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1357
2537
3817
41217
52507
63147
75327
89087
913977
1015517
1118867
1245457
1350017

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.4b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (exp z))
0.0b
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
1.5b
(log (+ (- 1.0 y) (* y (exp z))))
3.2b
(+ (- 1.0 y) (* y (exp z)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
log-div
flip3-+ flip-+
associate-+l+ div-sub
+-commutative associate-+l- sub-neg frac-2neg clear-num *-commutative div-inv
Counts
4 → 14
Calls
4 calls:
2.0ms
(* y (exp z))
5.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
4.0ms
(log (+ (- 1.0 y) (* y (exp z))))
5.0ms
(+ (- 1.0 y) (* y (exp z)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* y (exp z))
159.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
81.0ms
(log (+ (- 1.0 y) (* y (exp z))))
36.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify33.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0314255
11084244
25001234

prune107.0ms

Filtered
26 candidates to 22 candidates (84.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New21526
Fresh000
Picked101
Done000
Total22527

Merged error: 4.2b

Counts
27 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
0.0b
(* y (expm1 z))
0.1b
(/ (log (+ 1.0 (* y (expm1 z)))) t)
3.4b
(log (+ 1.0 (* y (expm1 z))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
log-div
div-sub
flip3-+ flip-+
associate--r-
sub-neg flip3-- frac-2neg clear-num *-commutative flip-- div-inv
Counts
4 → 14
Calls
4 calls:
2.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
2.0ms
(* y (expm1 z))
4.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
5.0ms
(log (+ 1.0 (* y (expm1 z))))

series354.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
36.0ms
(* y (expm1 z))
162.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
75.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify34.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0350267
11208261
25001251

prune109.0ms

Filtered
26 candidates to 21 candidates (80.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New20626
Fresh224
Picked011
Done000
Total22931

Merged error: 4.2b

Counts
31 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t)))
0.0b
(* y (expm1 z))
0.1b
(* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t))
3.4b
(log (+ 1.0 (* y (expm1 z))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
log-div clear-num un-div-inv *-commutative
sub-neg flip3-- frac-2neg flip3-+ associate-*r* flip-- flip-+ div-inv
Counts
4 → 14
Calls
4 calls:
2.0ms
(- x (* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t)))
2.0ms
(* y (expm1 z))
3.0ms
(* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t))
3.0ms
(log (+ 1.0 (* y (expm1 z))))

series352.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- x (* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t)))
37.0ms
(* y (expm1 z))
159.0ms
(* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t))
75.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify36.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0350228
11328217
25001205

prune88.0ms

Filtered
26 candidates to 16 candidates (61.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New24226
Fresh167
Picked011
Done011
Total251035

Merged error: 4.2b

Counts
35 → 10

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l* associate--r+
+-commutative sub-neg flip3-- frac-2neg clear-num *-commutative flip-- div-inv
Counts
2 → 11
Calls
2 calls:
3.0ms
(- x (+ (* 1.0 (/ (* z y) t)) (/ (log 1.0) t)))
3.0ms
(/ (* z y) t)

series232.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09194
127592
2106692
3500192

prune37.0ms

Filtered
17 candidates to 11 candidates (64.7%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New14317
Fresh167
Picked101
Done022
Total161127

Merged error: 3.4b

Counts
27 → 11

regimes299.0ms

Accuracy

39.7% (4.6b remaining)

Error of 8.0b against oracle of 3.4b and baseline of 11.0b

bsearch57.0ms

Steps
ItersRangePoint
5
-1.1801389682136069e-93
-4.1747844910918537e-94
-9.793489954022148e-94

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03016
13016

end0.0ms

sample3.3s

Algorithm
intervals
Results
787.0ms1480×body10240exit
777.0ms1407×body1280valid
498.0ms1595×body640valid
226.0ms3566×body80valid
175.0ms888×body320valid
103.0ms80×body2560valid
101.0ms2530×body80nan
59.0ms279×body640nan
58.0ms486×body160valid
36.0ms120×body1280nan
28.0ms193×body320nan
11.0ms119×body160nan