Details

Time bar (total: 5.7s)

sample101.0ms

Algorithm
intervals
Results
21.0ms43×body1280valid
19.0ms38×body10240exit
17.0ms61×body640valid
6.0ms105×body80valid
6.0ms33×body320valid
4.0msbody2560valid
3.0ms18×body640nan
3.0ms79×body80nan
2.0ms14×body320nan
1.0ms12×body160valid
1.0msbody160nan
0.0msbody1280nan

simplify204.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: 25.6b

Counts
2 → 1

localize13.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.8b
(log (+ (- 1.0 y) (* y (exp z))))
2.4b
(+ (- 1.0 y) (* y (exp z)))

rewrite21.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:
4.0ms
(* y (exp z))
7.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)))

series300.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* y (exp z))
152.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
73.0ms
(log (+ (- 1.0 y) (* y (exp z))))
53.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify32.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0314255
11084244
25001234

prune104.0ms

Filtered
26 candidates to 22 candidates (84.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New22426
Fresh000
Picked101
Done000
Total23427

Merged error: 5.1b

Counts
27 → 4

localize10.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.8b
(log (+ 1.0 (* y (expm1 z))))

rewrite11.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))
3.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
3.0ms
(log (+ 1.0 (* y (expm1 z))))

series353.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
41.0ms
(* y (expm1 z))
148.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
73.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify33.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0350267
11208261
25001251

prune98.0ms

Filtered
26 candidates to 20 candidates (76.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New20626
Fresh123
Picked101
Done000
Total22830

Merged error: 5.0b

Counts
30 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (expm1 z))
0.1b
(/ t (log (+ 1.0 (* y (expm1 z)))))
0.1b
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
3.8b
(log (+ 1.0 (* y (expm1 z))))

rewrite10.0ms

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

series377.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* y (expm1 z))
197.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
71.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
73.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify38.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0374262
11601254
25002252

prune116.0ms

Filtered
27 candidates to 23 candidates (85.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New22527
Fresh437
Picked011
Done000
Total26935

Merged error: 5.0b

Counts
35 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

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

series253.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- x (* (/ 1 t) (log (+ 1.0 (* y (expm1 z))))))
40.0ms
(* y (expm1 z))
76.0ms
(* (/ 1 t) (log (+ 1.0 (* y (expm1 z)))))
68.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify37.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0325222
11178213
25002203

prune71.0ms

Filtered
24 candidates to 20 candidates (83.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New23124
Fresh077
Picked011
Done011
Total231033

Merged error: 5.0b

Counts
33 → 10

regimes267.0ms

Accuracy

36.2% (4.7b remaining)

Error of 9.1b against oracle of 4.5b and baseline of 11.8b

bsearch84.0ms

Steps
ItersRangePoint
7
-3.262421321844347e-177
-1.282279085600097e-178
-3.2268447585675767e-177

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample3.1s

Algorithm
intervals
Results
752.0ms1429×body1280valid
710.0ms1440×body10240exit
483.0ms1627×body640valid
220.0ms3481×body80valid
169.0ms926×body320valid
93.0ms73×body2560valid
90.0ms2439×body80nan
56.0ms272×body640nan
55.0ms491×body160valid
33.0ms115×body1280nan
30.0ms225×body320nan
10.0ms123×body160nan