Details

Time bar (total: 5.7s)

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0.195169%

Space saved by search: 0.195169%

Guaranteed chance to sample good point: 0%

Results
12.0ms256×body80valid
0.0msbody80invalid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.5b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.9b
(/ (- (* 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 add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 div-sub associate-/r/ associate-/l/
flip3-- flip3-+ flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg diff-log sum-log
Counts
4 → 98
Calls
4 calls:
3.0ms
(- (* y z) x)
10.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
13.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.0ms
(/ (- (* y z) x) (- (* t z) x))

series84.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* y z) x)
25.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
33.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
21.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify48.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04001011
11421948
25002947

prune151.0ms

Filtered
80 candidates to 110 candidates (-37.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1019110
Fresh000
Picked101
Done000
Total1029111

Merged error: 0.5b

Counts
111 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity
33×times-frac
30×add-sqr-sqrt
25×add-cube-cbrt
16×distribute-lft-out
13×add-exp-log add-cbrt-cube
10×associate-/r* associate-/r/
associate-/l*
distribute-lft-out-- add-log-exp
flip3-- flip-- div-inv
pow1 cbrt-undiv div-exp
distribute-rgt-out-- frac-2neg clear-num
flip3-+ flip-+ associate-/l/ difference-of-squares
associate-+r- sub-neg diff-log div-sub prod-exp frac-sub cbrt-unprod sub-div
Counts
4 → 118
Calls
4 calls:
15.0ms
(- (/ (* y z) (- (* t z) x)) (/ x (- (* t z) x)))
21.0ms
(/ (+ x (- (/ (* y z) (- (* t z) x)) (/ x (- (* t z) x)))) (+ x 1.0))
5.0ms
(/ x (- (* t z) x))
6.0ms
(/ (* y z) (- (* t z) x))

series80.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(- (/ (* y z) (- (* t z) x)) (/ x (- (* t z) x)))
34.0ms
(/ (+ x (- (/ (* y z) (- (* t z) x)) (/ x (- (* t z) x)))) (+ x 1.0))
14.0ms
(/ x (- (* t z) x))
12.0ms
(/ (* y z) (- (* t z) x))

simplify52.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04771357
119661267
250021267

prune135.0ms

Filtered
90 candidates to 130 candidates (-44.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1282130
Fresh358
Picked101
Done000
Total1327139

Merged error: 0.5b

Counts
139 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (+ x (- (* y (/ z (- (* t z) x))) (/ x (- (* t z) x)))) (+ x 1.0))
2.5b
(* y (/ z (- (* t z) x)))
2.6b
(/ x (- (* t z) x))
7.6b
(/ z (- (* t z) x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
44×times-frac
43×add-sqr-sqrt
38×add-cube-cbrt
15×add-exp-log associate-*r* add-cbrt-cube
10×associate-/r* distribute-lft-out associate-/l*
associate-/r/
pow1
cbrt-undiv div-exp div-inv add-log-exp
flip3-- frac-2neg associate-*l* clear-num flip--
flip3-+ prod-exp cbrt-unprod flip-+ associate-/l/ unswap-sqr
associate-+r- div-sub associate-*r/ pow-prod-down *-commutative
Counts
4 → 133
Calls
4 calls:
16.0ms
(/ (+ x (- (* y (/ z (- (* t z) x))) (/ x (- (* t z) x)))) (+ x 1.0))
8.0ms
(* y (/ z (- (* t z) x)))
5.0ms
(/ x (- (* t z) x))
5.0ms
(/ z (- (* t z) x))

series65.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (+ x (- (* y (/ z (- (* t z) x))) (/ x (- (* t z) x)))) (+ x 1.0))
11.0ms
(* y (/ z (- (* t z) x)))
11.0ms
(/ x (- (* t z) x))
10.0ms
(/ z (- (* t z) x))

simplify56.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04761296
120561196
250011196

prune153.0ms

Filtered
105 candidates to 145 candidates (-38.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1432145
Fresh066
Picked101
Done000
Total1448152

Merged error: 0.5b

Counts
152 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (+ x (- (* y (/ z (- (* t z) x))) (/ x (- (* t z) x)))) (/ 1 (+ x 1.0)))
2.5b
(* y (/ z (- (* t z) x)))
2.6b
(/ x (- (* t z) x))
7.6b
(/ z (- (* t z) x))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
46×*-un-lft-identity
42×times-frac
37×add-cube-cbrt
33×associate-*r*
22×add-exp-log
18×add-cbrt-cube
pow1 associate-/r/
associate-*l*
prod-exp associate-/r* associate-/l*
div-exp unswap-sqr
cbrt-undiv cbrt-unprod div-inv distribute-lft-out add-log-exp
flip3-- flip3-+ flip-- flip-+
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
rec-exp 1-exp un-div-inv
Counts
4 → 138
Calls
4 calls:
20.0ms
(* (+ x (- (* y (/ z (- (* t z) x))) (/ x (- (* t z) x)))) (/ 1 (+ x 1.0)))
8.0ms
(* y (/ z (- (* t z) x)))
5.0ms
(/ x (- (* t z) x))
7.0ms
(/ z (- (* t z) x))

series66.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* (+ x (- (* y (/ z (- (* t z) x))) (/ x (- (* t z) x)))) (/ 1 (+ x 1.0)))
11.0ms
(* y (/ z (- (* t z) x)))
11.0ms
(/ x (- (* t z) x))
8.0ms
(/ z (- (* t z) x))

simplify73.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05931330
128871190
250011174

prune141.0ms

Filtered
110 candidates to 150 candidates (-36.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1500150
Fresh077
Picked011
Done000
Total1508158

Merged error: 0.5b

Counts
158 → 8

regimes283.0ms

Accuracy

0% (2.2b remaining)

Error of 2.5b against oracle of 0.3b and baseline of 2.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02312
12312

end0.0ms

sample2.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0.195169%

Space saved by search: 0.195169%

Guaranteed chance to sample good point: 0%

Results
391.0ms8000×body80valid
14.0ms319×body80invalid

Profiling

Loading profile data...