Details

Time bar (total: 3.6s)

sample34.0ms

Algorithm
intervals
Results
10.0ms262×body80valid
2.0ms16×body320valid
2.0msbody1280valid
1.0msbody640valid
1.0msbody160valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1446
21226
33276
48686
517276
635446
750016

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.7b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- t x) (- a z))
3.6b
(+ x (* (- y z) (/ (- t x) (- a z))))
5.0b
(* (- y z) (/ (- t x) (- a z)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
73×*-un-lft-identity
51×times-frac
31×associate-*r*
27×add-cube-cbrt
23×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube
pow1 flip3-- associate-*l* associate-/r* flip-- associate-/l* add-log-exp
associate-/r/
cbrt-undiv frac-times div-exp associate-*l/ prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num sum-log *-commutative flip-+
Counts
3 → 119
Calls
3 calls:
7.0ms
(/ (- t x) (- a z))
3.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
16.0ms
(* (- y z) (/ (- t x) (- a z)))

series99.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(/ (- t x) (- a z))
52.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
34.0ms
(* (- y z) (/ (- t x) (- a z)))

simplify54.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0473869
12012820
25002820

prune179.0ms

Filtered
88 candidates to 128 candidates (-45.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11513128
Fresh000
Picked101
Done000
Total11613129

Merged error: 3.8b

Counts
129 → 13

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- a z))
0.2b
(* (- t x) (/ 1 (- a z)))
5.0b
(* (- y z) (* (- t x) (/ 1 (- a z))))
5.6b
(+ x (* (- y z) (* (- t x) (/ 1 (- a z)))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
32×add-exp-log times-frac
25×add-cube-cbrt
22×associate-*r*
20×frac-times add-cbrt-cube
17×flip3-- flip--
13×prod-exp
12×pow1
10×associate-*r/ associate-*l* associate-*l/
distribute-lft-out-- difference-of-squares
cbrt-unprod
div-exp add-log-exp
associate-/r*
pow-prod-down associate-/r/ un-div-inv
cbrt-undiv rec-exp 1-exp associate-/l* unswap-sqr
*-commutative div-inv
+-commutative pow-flip frac-2neg flip3-+ clear-num sum-log flip-+ inv-pow
Counts
4 → 146
Calls
4 calls:
5.0ms
(/ 1 (- a z))
12.0ms
(* (- t x) (/ 1 (- a z)))
15.0ms
(* (- y z) (* (- t x) (/ 1 (- a z))))
4.0ms
(+ x (* (- y z) (* (- t x) (/ 1 (- a z)))))

series105.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 1 (- a z))
14.0ms
(* (- t x) (/ 1 (- a z)))
35.0ms
(* (- y z) (* (- t x) (/ 1 (- a z))))
52.0ms
(+ x (* (- y z) (* (- t x) (/ 1 (- a z)))))

simplify72.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05851025
12810908
25002863

prune182.0ms

Filtered
98 candidates to 158 candidates (-61.2%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1544158
Fresh11112
Picked011
Done000
Total15516171

Merged error: 3.8b

Counts
171 → 16

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- a z) (- t x))
0.8b
(/ 1 (/ (- a z) (- t x)))
4.6b
(+ x (* (- y z) (/ 1 (/ (- a z) (- t x)))))
5.0b
(* (- y z) (/ 1 (/ (- a z) (- t x))))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
392×times-frac
338×add-sqr-sqrt
326×*-un-lft-identity
158×add-cube-cbrt
98×associate-*r*
83×distribute-lft-out-- difference-of-squares
36×add-exp-log associate-/r*
20×add-cbrt-cube
18×associate-/r/
15×div-exp
11×flip3-- flip--
10×div-inv
associate-/l*
pow1 cbrt-undiv prod-exp
add-log-exp
associate-*l* unswap-sqr
rec-exp 1-exp
cbrt-unprod
frac-times frac-2neg associate-*l/ clear-num associate-/l/
+-commutative pow-flip flip3-+ div-sub associate-*r/ pow-prod-down sum-log un-div-inv *-commutative flip-+ inv-pow
Counts
4 → 344
Calls
4 calls:
8.0ms
(/ (- a z) (- t x))
12.0ms
(/ 1 (/ (- a z) (- t x)))
3.0ms
(+ x (* (- y z) (/ 1 (/ (- a z) (- t x)))))
36.0ms
(* (- y z) (/ 1 (/ (- a z) (- t x))))

series153.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(/ (- a z) (- t x))
30.0ms
(/ 1 (/ (- a z) (- t x)))
51.0ms
(+ x (* (- y z) (/ 1 (/ (- a z) (- t x)))))
60.0ms
(* (- y z) (/ 1 (/ (- a z) (- t x))))

simplify62.0ms

Algorithm
egg-herbie
Counts
356 → 356
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010103037
150012740

prune327.0ms

Filtered
209 candidates to 356 candidates (-70.3%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New3506356
Fresh5914
Picked101
Done011
Total35616372

Merged error: 3.8b

Counts
372 → 16

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- y z) (- a z))
1.8b
(* (/ (- y z) (- a z)) (- t x))
2.6b
(+ x (* (/ (- y z) (- a z)) (- t x)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
73×*-un-lft-identity
51×times-frac
31×associate-*l*
27×add-cube-cbrt
23×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube
pow1 flip3-- associate-*r* associate-/r* flip-- associate-/l* add-log-exp
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in associate-/r/
cbrt-undiv frac-times associate-*r/ div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative frac-2neg flip3-+ div-sub pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-+
Counts
3 → 127
Calls
3 calls:
7.0ms
(/ (- y z) (- a z))
14.0ms
(* (/ (- y z) (- a z)) (- t x))
4.0ms
(+ x (* (/ (- y z) (- a z)) (- t x)))

series118.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(/ (- y z) (- a z))
54.0ms
(* (/ (- y z) (- a z)) (- t x))
53.0ms
(+ x (* (/ (- y z) (- a z)) (- t x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0522929
11920879
25003879

prune96.0ms

Filtered
91 candidates to 136 candidates (-49.5%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New1342136
Fresh21214
Picked011
Done011
Total13616152

Merged error: 3.8b

Counts
152 → 16

regimes772.0ms

Accuracy

61% (2.8b remaining)

Error of 7.0b against oracle of 4.2b and baseline of 11.5b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03624
13624

end0.0ms

sample936.0ms

Algorithm
intervals
Results
287.0ms7776×body80valid
68.0ms464×body640valid
47.0ms261×body1280valid
40.0ms383×body320valid
20.0ms279×body160valid
6.0ms26×body2560valid

Profiling

Loading profile data...