Details

Time bar (total: 2.4s)

sample18.0ms

Algorithm
intervals
Results
8.0ms306×body80valid

simplify82.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.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.3b
(/ (* 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)

simplify44.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0262303
11268253
25002253

prune123.0ms

Filtered
57 candidates to 39 candidates (68.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New51657
Fresh000
Picked101
Done000
Total52658

Merged error: 0.0b

Counts
58 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series99.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04631195
121431142
250011140

prune300.0ms

Filtered
149 candidates to 98 candidates (65.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1472149
Fresh325
Picked011
Done000
Total1505155

Merged error: 0b

Counts
155 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
0.0b
(fma 1.0 (/ x z) (/ (* x y) z))
6.0b
(/ (* 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:
4.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
1.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
5.0ms
(/ (* x y) z)

series123.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
58.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
22.0ms
(/ (* x y) z)

simplify45.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0235493
11042390
25002384

prune165.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New69271
Fresh213
Picked011
Done011
Total71576

Merged error: 0b

Counts
76 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (fma 1.0 (/ x z) (/ 1 (/ z (* x y)))) x)
0.0b
(fma 1.0 (/ x z) (/ 1 (/ z (* x y))))
0.7b
(/ 1 (/ z (* x y)))
5.8b
(/ z (* x y))

rewrite23.0ms

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

series167.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (fma 1.0 (/ x z) (/ 1 (/ z (* x y)))) x)
78.0ms
(fma 1.0 (/ x z) (/ 1 (/ z (* x y))))
24.0ms
(/ 1 (/ z (* x y)))
23.0ms
(/ z (* x y))

simplify55.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0393880
11749709
25001659

prune239.0ms

Filtered
132 candidates to 74 candidates (56.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1320132
Fresh022
Picked011
Done022
Total1325137

Merged error: 0b

Counts
137 → 5

regimes94.0ms

Accuracy

97.4% (0.1b remaining)

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

bsearch59.0ms

Steps
ItersRangePoint
9
0.3235305135594418
10451050.785873119
4098704.9989726637
5
-4.503960361653909e-11
-1.2252616440760547e-11
-1.9698992431593146e-11

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02313
12313

end0.0ms

sample475.0ms

Algorithm
intervals
Results
261.0ms10135×body80valid