Details

Time bar (total: 2.1s)

sample18.0ms

Algorithm
intervals
Results
9.0ms325×body80valid

simplify53.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

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

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.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)))
6.0ms
(* y (- z x))
5.0ms
(/ (+ x (* y (- z x))) z)

series109.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ x (* y (- z x)))
37.0ms
(* y (- z x))
43.0ms
(/ (+ x (* y (- z x))) z)

simplify116.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0259420
11042388
24783388
35001388

prune122.0ms

Filtered
79 candidates to 54 candidates (68.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New74579
Fresh000
Picked101
Done000
Total75580

Merged error: 4.3b

Counts
80 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

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

series49.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(- (+ (/ x z) y) (/ (* x y) z))
19.0ms
(/ (* x y) z)

simplify48.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0244274
11067254
25001250

prune75.0ms

Filtered
46 candidates to 31 candidates (67.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New45146
Fresh134
Picked011
Done000
Total46551

Merged error: 0b

Counts
51 → 5

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (/ x z) y) (/ x (/ z y)))
7.2b
(/ x (/ z y))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
53×add-sqr-sqrt
49×*-un-lft-identity
44×add-cube-cbrt
13×associate-/r*
add-exp-log add-cbrt-cube add-log-exp
div-inv
cbrt-undiv div-exp associate-/l* difference-of-squares
pow1 diff-log frac-sub distribute-lft-out--
sub-neg flip3-- frac-2neg flip3-+ associate--l+ clear-num sum-log associate-/r/ flip-- flip-+ distribute-lft-out
Counts
2 → 91
Calls
2 calls:
19.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
5.0ms
(/ x (/ z y))

series48.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
20.0ms
(/ x (/ z y))

simplify50.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0475677
11870652
25001647

prune165.0ms

Filtered
97 candidates to 77 candidates (79.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New97097
Fresh033
Picked011
Done011
Total975102

Merged error: 0b

Counts
102 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
62×add-sqr-sqrt
60×*-un-lft-identity
58×add-cube-cbrt
19×add-exp-log
18×associate-/r*
13×add-cbrt-cube
11×associate-/r/
div-exp
pow1
flip3-+ flip-+ div-inv associate-/l* add-log-exp
associate-*r*
cbrt-undiv distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
associate-*l*
rec-exp frac-2neg 1-exp associate-*r/ clear-num
+-commutative flip3-- pow-flip pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 154
Calls
4 calls:
3.0ms
(+ x (* y (- z x)))
6.0ms
(* y (- z x))
7.0ms
(/ 1 (/ z (+ x (* y (- z x)))))
4.0ms
(/ z (+ x (* y (- z x))))

series202.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ x (* y (- z x)))
37.0ms
(* y (- z x))
38.0ms
(/ 1 (/ z (+ x (* y (- z x)))))
98.0ms
(/ z (+ x (* y (- z x))))

simplify66.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04971342
123631212
250011124

prune196.0ms

Filtered
166 candidates to 93 candidates (56.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1660166
Fresh022
Picked011
Done022
Total1665171

Merged error: 0b

Counts
171 → 5

regimes116.0ms

Accuracy

90% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 3.0b

bsearch61.0ms

Steps
ItersRangePoint
8
4.2485393819494524e-131
2.3330051919050562e-126
7.720026713673231e-131
8
-88.04257933538071
-0.006766012608516968
-86.33713357608885

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02210
12210

end0.0ms

sample491.0ms

Algorithm
intervals
Results
289.0ms10120×body80valid