Details

Time bar (total: 2.2s)

sample18.0ms

Algorithm
intervals
Results
8.0ms323×body80valid

simplify91.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: 11.9b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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))
10.0ms
(/ (* x (+ (- y z) 1.0)) z)

series82.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0262303
11268253
25002253

prune125.0ms

Filtered
57 candidates to 39 candidates (68.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New52557
Fresh000
Picked101
Done000
Total53558

Merged error: 0.0b

Counts
58 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.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))
12.0ms
(/ x (/ z (+ (- y z) 1.0)))

series98.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
04631195
121431142
250011140

prune306.0ms

Filtered
149 candidates to 97 candidates (65.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1481149
Fresh224
Picked011
Done000
Total1504154

Merged error: 0b

Counts
154 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.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)
13.0ms
(* x (/ (+ (- y z) 1.0) z))

series72.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0274497
11191450
25001447

prune156.0ms

Filtered
86 candidates to 53 candidates (61.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done011
Total86490

Merged error: 0b

Counts
90 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1.0 (/ x z) (/ (* x y) z))
0.0b
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
7.9b
(/ (* x y) z)

rewrite11.0ms

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

series120.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
46.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
21.0ms
(/ (* x y) z)

simplify48.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0235493
11042390
25002384

prune156.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New70171
Fresh101
Picked011
Done022
Total71475

Merged error: 0b

Counts
75 → 4

regimes65.0ms

Accuracy

77.4% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 1.6b

bsearch74.0ms

Steps
ItersRangePoint
8
9.349759581274407e-114
1.9669099596609714e-110
1.9382208656229947e-110
8
-2.9148937725967404e-17
-3.1158541889032954e-21
-1.062551417993879e-20

simplify7.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1249

end0.0ms

sample461.0ms

Algorithm
intervals
Results
249.0ms10171×body80valid