Details

Time bar (total: 2.4s)

sample20.0ms

Algorithm
intervals
Results
9.0ms324×body80valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

prune2.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: 9.7b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
9.1b
(/ (* x (+ (- y z) 1.0)) z)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 51
Calls
2 calls:
9.0ms
(* x (+ (- y z) 1.0))
9.0ms
(/ (* x (+ (- y z) 1.0)) z)

series74.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(* x (+ (- y z) 1.0))
43.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify40.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0262303
11268253
25002253

prune107.0ms

Filtered
57 candidates to 39 candidates (68.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New51657
Fresh000
Picked011
Done000
Total51758

Merged error: 0.0b

Counts
58 → 7

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.2b
(/ x (/ z (+ (- y z) 1.0)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×associate-/r*
16×distribute-lft-out--
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
8.0ms
(/ z (+ (- y z) 1.0))
11.0ms
(/ x (/ z (+ (- y z) 1.0)))

series91.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ z (+ (- y z) 1.0))
45.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04631195
121431142
250011140

prune260.0ms

Filtered
149 candidates to 98 candidates (65.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1463149
Fresh235
Picked101
Done101
Total1506156

Merged error: 0b

Counts
156 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (/ z (+ (- y z) 1.0)))
0.0b
(/ z (+ (- y z) 1.0))
0.0b
(log1p (expm1 (/ z (+ (- y z) 1.0))))
3.2b
(/ x (log1p (expm1 (/ z (+ (- y z) 1.0)))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
24×times-frac
22×add-sqr-sqrt add-cube-cbrt
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out
associate-/l*
log1p-expm1-u
pow1 expm1-log1p-u distribute-lft-out-- add-log-exp
cbrt-undiv frac-2neg div-exp clear-num associate-/r/ div-inv
log1p-udef expm1-log1p flip3-+ log1p-expm1 flip-+ expm1-udef
Counts
4 → 90
Calls
4 calls:
1.0ms
(expm1 (/ z (+ (- y z) 1.0)))
8.0ms
(/ z (+ (- y z) 1.0))
1.0ms
(log1p (expm1 (/ z (+ (- y z) 1.0))))
3.0ms
(/ x (log1p (expm1 (/ z (+ (- y z) 1.0)))))

series345.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(expm1 (/ z (+ (- y z) 1.0)))
45.0ms
(/ z (+ (- y z) 1.0))
97.0ms
(log1p (expm1 (/ z (+ (- y z) 1.0))))
112.0ms
(/ x (log1p (expm1 (/ z (+ (- y z) 1.0)))))

simplify40.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0320720
11092605
25001592

prune217.0ms

Filtered
102 candidates to 77 candidates (75.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1020102
Fresh055
Picked011
Done000
Total1026108

Merged error: 0b

Counts
108 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ (- y z) 1.0) z)
3.4b
(* x (/ (+ (- y z) 1.0) z))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 80
Calls
2 calls:
9.0ms
(/ (+ (- y z) 1.0) z)
16.0ms
(* x (/ (+ (- y z) 1.0) z))

series69.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(/ (+ (- y z) 1.0) z)
43.0ms
(* x (/ (+ (- y z) 1.0) z))

simplify49.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0274497
11191450
25001447

prune121.0ms

Filtered
86 candidates to 53 candidates (61.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh044
Picked011
Done011
Total86692

Merged error: 0b

Counts
92 → 6

regimes102.0ms

Accuracy

96.6% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 2.9b

bsearch82.0ms

Steps
ItersRangePoint
7
1.5775858763663863e-30
5.416980727648667e-29
5.316931157807296e-29
11
-0.1948919490089863
-8.164266256805265e-24
-2.1306842356386806e-13

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0228
1228

end0.0ms

sample517.0ms

Algorithm
intervals
Results
301.0ms10110×body80valid