Details

Time bar (total: 3.6s)

sample1.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 6.338501%

Guaranteed chance to sample good point: 80.968362%

Results
7.0ms256×body80valid
1.0ms48×body80invalid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0114
1184
2324
3474
4574
5754
61094
71784
83974
913694
1050014

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.4b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* y (- z x)))
0.0b
(* y (- z x))
8.8b
(/ (+ x (* y (- z x))) z)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
associate-*l* associate-/r* associate-/l*
flip3-+ associate-*r/ flip-+ associate-/l/
cbrt-undiv +-commutative flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 70
Calls
3 calls:
3.0ms
(+ x (* y (- z x)))
9.0ms
(* y (- z x))
5.0ms
(/ (+ x (* y (- z x))) z)

series24.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ x (* y (- z x)))
7.0ms
(* y (- z x))
10.0ms
(/ (+ x (* y (- z x))) z)

simplify145.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0259420
11042388
24769388
35002388

prune81.0ms

Filtered
54 candidates to 79 candidates (-46.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New74579
Fresh000
Picked101
Done000
Total75580

Merged error: 2.8b

Counts
80 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x z) y)
0.0b
(- (+ (/ x z) y) (/ (* x y) z))
5.9b
(/ (* x y) z)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 times-frac associate-/r*
cbrt-undiv flip3-+ diff-log div-exp sum-log frac-sub flip-+ distribute-lft-out distribute-lft-out--
+-commutative sub-neg flip3-- frac-2neg prod-exp associate--l+ clear-num flip-- cbrt-unprod div-inv associate-/l* difference-of-squares
Counts
3 → 52
Calls
3 calls:
7.0ms
(+ (/ x z) y)
10.0ms
(- (+ (/ x z) y) (/ (* x y) z))
4.0ms
(/ (* x y) z)

series16.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (/ x z) y)
7.0ms
(- (+ (/ x z) y) (/ (* x y) z))
5.0ms
(/ (* x y) z)

simplify32.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0253328
11102308
25001304

prune66.0ms

Filtered
41 candidates to 61 candidates (-48.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New59261
Fresh044
Picked101
Done000
Total60666

Merged error: 0b

Counts
66 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x z) y)
0.0b
(- (+ (/ x z) y) (* x (/ y z)))
5.3b
(* x (/ y z))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×*-un-lft-identity associate-*r*
11×add-cube-cbrt
10×times-frac add-log-exp
add-exp-log add-cbrt-cube
pow1
associate-*r/ associate-*l*
flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
cbrt-undiv +-commutative sub-neg flip3-- div-exp pow-prod-down associate--l+ *-commutative flip-- div-inv distribute-lft-out
Counts
3 → 60
Calls
3 calls:
8.0ms
(+ (/ x z) y)
8.0ms
(- (+ (/ x z) y) (* x (/ y z)))
6.0ms
(* x (/ y z))

series17.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (/ x z) y)
7.0ms
(- (+ (/ x z) y) (* x (/ y z)))
5.0ms
(* x (/ y z))

simplify39.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0311352
11363332
25002328

prune65.0ms

Filtered
46 candidates to 69 candidates (-50.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New69069
Fresh055
Picked011
Done000
Total69675

Merged error: 0b

Counts
75 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* y (- z x)))
0.0b
(* y (- z x))
9.0b
(* (+ x (* y (- z x))) (/ 1 z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
18×associate-*r*
16×*-un-lft-identity
14×add-exp-log
13×add-cube-cbrt
11×times-frac
10×add-cbrt-cube
pow1
associate-*l*
prod-exp add-log-exp
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in unswap-sqr
flip3-+ associate-*r/ cbrt-unprod flip-+
frac-times div-exp pow-prod-down associate-*l/ *-commutative
cbrt-undiv +-commutative rec-exp flip3-- 1-exp sum-log un-div-inv flip-- div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 81
Calls
3 calls:
3.0ms
(+ x (* y (- z x)))
6.0ms
(* y (- z x))
9.0ms
(* (+ x (* y (- z x))) (/ 1 z))

series25.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(+ x (* y (- z x)))
7.0ms
(* y (- z x))
10.0ms
(* (+ x (* y (- z x))) (/ 1 z))

simplify49.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0354500
11718444
25002432

prune68.0ms

Filtered
59 candidates to 90 candidates (-52.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New90090
Fresh044
Picked011
Done011
Total90696

Merged error: 0b

Counts
96 → 6

regimes174.0ms

Accuracy

77.7% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 3.5b

bsearch50.0ms

Steps
ItersRangePoint
9
2.3542448650644747e-104
2.209477866964639e-96
1.245735668250682e-98
10
-7.462349966602417e-155
-1.6207367177879035e-164
-7.4018332464356e-155

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03010
13010

end0.0ms

sample1.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 6.338501%

Guaranteed chance to sample good point: 80.968362%

Results
241.0ms8000×body80valid
43.0ms1504×body80invalid

Profiling

Loading profile data...