Details

Time bar (total: 3.9s)

sample27.0ms

Algorithm
intervals
Results
15.0ms263×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

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: 9.0b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.2b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
10.8b
(/ (- (* y z) x) (- (* t z) x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
25×times-frac
22×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube associate-/l*
add-log-exp
div-sub associate-/r/ associate-/l/
pow1 expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u
cbrt-undiv associate-+r- flip3-- frac-2neg div-exp clear-num flip-- div-inv
+-commutative sum-log
Counts
3 → 95
Calls
3 calls:
11.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
15.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.0ms
(/ (- (* y z) x) (- (* t z) x))

series273.0ms

Counts
3 → 9
Calls
3 calls:
86.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
122.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
64.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify49.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0398994
11427934
25001932

prune267.0ms

Filtered
104 candidates to 79 candidates (76.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New995104
Fresh000
Picked101
Done000
Total1005105

Merged error: 0.3b

Counts
105 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
1.7b
(/ x (- (* t z) x))
2.3b
(fma (/ y (- (* t z) x)) z x)
2.4b
(/ y (- (* t z) x))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
56×*-un-lft-identity
47×times-frac
32×add-cube-cbrt
12×associate-/l*
10×add-exp-log associate-/r* add-cbrt-cube difference-of-squares
distribute-lft-out
associate-/r/
distribute-lft-out--
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
associate-/l/
flip3-+ div-sub flip-+ fma-udef
Counts
4 → 125
Calls
4 calls:
17.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
6.0ms
(/ x (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ y (- (* t z) x))

series259.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
60.0ms
(/ x (- (* t z) x))
55.0ms
(fma (/ y (- (* t z) x)) z x)
29.0ms
(/ y (- (* t z) x))

simplify55.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04881388
116791305
250021301

prune382.0ms

Filtered
137 candidates to 105 candidates (76.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1334137
Fresh134
Picked101
Done000
Total1357142

Merged error: 0b

Counts
142 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
1.7b
(/ x (- (* t z) x))
2.3b
(fma (/ y (- (* t z) x)) z x)
2.4b
(/ y (- (* t z) x))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
56×*-un-lft-identity
47×times-frac
32×add-cube-cbrt
12×associate-/r*
10×add-exp-log add-cbrt-cube associate-/l* difference-of-squares
distribute-lft-out
associate-/r/
distribute-lft-out--
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
associate-/l/
flip3-+ flip-+ fma-udef
Counts
4 → 124
Calls
4 calls:
14.0ms
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
6.0ms
(/ x (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ y (- (* t z) x))

series262.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
60.0ms
(/ x (- (* t z) x))
55.0ms
(fma (/ y (- (* t z) x)) z x)
30.0ms
(/ y (- (* t z) x))

simplify69.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
04241343
114841277
250021277

prune342.0ms

Filtered
136 candidates to 103 candidates (75.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1360136
Fresh066
Picked011
Done000
Total1367143

Merged error: 0b

Counts
143 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (* (cbrt y) (cbrt y)) (/ (cbrt y) (- (* t z) x)))
1.7b
(/ (cbrt y) (- (* t z) x))
1.7b
(/ x (- (* t z) x))
2.3b
(fma (* (* (cbrt y) (cbrt y)) (/ (cbrt y) (- (* t z) x))) z x)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
47×times-frac
45×add-sqr-sqrt
40×add-cube-cbrt *-un-lft-identity
24×associate-*r*
22×cbrt-prod
20×add-exp-log
13×add-cbrt-cube
pow1 associate-/l*
prod-exp associate-/r* associate-/r/ cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
flip3-- pow-prod-down flip-- div-inv unswap-sqr
frac-2neg clear-num
associate-*r/ associate-*l* *-commutative fma-udef
Counts
4 → 133
Calls
4 calls:
15.0ms
(* (* (cbrt y) (cbrt y)) (/ (cbrt y) (- (* t z) x)))
7.0ms
(/ (cbrt y) (- (* t z) x))
5.0ms
(/ x (- (* t z) x))
1.0ms
(fma (* (* (cbrt y) (cbrt y)) (/ (cbrt y) (- (* t z) x))) z x)

series293.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (* (cbrt y) (cbrt y)) (/ (cbrt y) (- (* t z) x)))
101.0ms
(/ (cbrt y) (- (* t z) x))
60.0ms
(/ x (- (* t z) x))
82.0ms
(fma (* (* (cbrt y) (cbrt y)) (/ (cbrt y) (- (* t z) x))) z x)

simplify67.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04721215
123031092
250011048

prune431.0ms

Filtered
145 candidates to 111 candidates (76.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1450145
Fresh055
Picked011
Done011
Total1457152

Merged error: 0b

Counts
152 → 7

regimes163.0ms

Accuracy

18% (3.6b remaining)

Error of 3.7b against oracle of 0.2b and baseline of 4.5b

bsearch125.0ms

Steps
ItersRangePoint
8
1.0781451912101374e-112
3.558568062587178e-108
3.938006923925878e-109
9
1.899229458690153e-308
8.009123962750566e-303
1.2889474225732965e-305

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03720
13720

end0.0ms

sample634.0ms

Algorithm
intervals
Results
406.0ms8339×body80valid