Details

Time bar (total: 5.9s)

sample24.0ms

Algorithm
intervals
Results
11.0ms268×body80valid

simplify110.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0238
1378
2658
3948
41088
51328
62018
73598
88258
932128
1050018

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.3b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.0b
(* z (- b y))
0.5b
(+ (* x y) (* z (- t a)))
20.5b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
times-frac
add-exp-log associate-+r+ add-cbrt-cube add-log-exp
pow1 distribute-rgt-in sub-neg distribute-lft-in
associate-*r*
flip3-+ flip-+
associate-*l* associate-/r* associate-/l*
+-commutative associate-*r/ sum-log associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 87
Calls
4 calls:
3.0ms
(+ y (* z (- b y)))
10.0ms
(* z (- b y))
3.0ms
(+ (* x y) (* z (- t a)))
12.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series415.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ y (* z (- b y)))
34.0ms
(* z (- b y))
40.0ms
(+ (* x y) (* z (- t a)))
310.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify47.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0353708
11481648
25001648

prune269.0ms

Filtered
99 candidates to 69 candidates (69.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 20.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.2b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
0.5b
(+ (* x y) (* z (- t a)))
20.6b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
associate-+r+ flip3-+ div-exp flip-+ add-log-exp
div-inv associate-/l*
pow1
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in
+-commutative rec-exp frac-2neg 1-exp clear-num sum-log associate-/l/
pow-flip inv-pow
Counts
4 → 145
Calls
4 calls:
3.0ms
(+ y (* z (- b y)))
11.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
3.0ms
(+ (* x y) (* z (- t a)))
13.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.1s

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ y (* z (- b y)))
771.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
41.0ms
(+ (* x y) (* z (- t a)))
255.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify63.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05252048
123731870
250021782

prune353.0ms

Filtered
157 candidates to 88 candidates (56.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 20.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.5b
(+ (* x y) (* z (- t a)))
0.8b
(/ 1 (+ y (* z (- b y))))
20.6b
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
25×*-un-lft-identity
22×add-cube-cbrt
20×times-frac associate-*r*
19×add-exp-log
13×add-cbrt-cube
pow1
associate-*l* add-log-exp
flip3-+ prod-exp flip-+
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in div-exp associate-/r/ unswap-sqr
associate-*r/ associate-/r* cbrt-unprod associate-/l*
cbrt-undiv frac-times rec-exp 1-exp pow-prod-down associate-*l/ *-commutative div-inv
+-commutative flip3-- pow-flip frac-2neg clear-num sum-log un-div-inv flip-- distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 116
Calls
4 calls:
10.0ms
(* z (- b y))
3.0ms
(+ (* x y) (* z (- t a)))
4.0ms
(/ 1 (+ y (* z (- b y))))
18.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

series466.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* z (- b y))
42.0ms
(+ (* x y) (* z (- t a)))
82.0ms
(/ 1 (+ y (* z (- b y))))
306.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0449957
12234849
25001823

prune283.0ms

Filtered
128 candidates to 77 candidates (60.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 20.6b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
0.5b
(+ (* x y) (* z (- t a)))
0.9b
(/ 1 (+ (* x y) (* z (- t a))))
19.8b
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
29×add-sqr-sqrt
23×*-un-lft-identity times-frac
22×add-cube-cbrt
20×div-exp add-cbrt-cube
16×prod-exp
15×associate-*r*
10×pow1 rec-exp 1-exp associate-/r/
flip3-+ flip-+
cbrt-undiv associate-/l* add-log-exp
frac-times associate-+r+ associate-*l/ associate-/r* cbrt-unprod
pow-flip associate-*l* div-inv unswap-sqr
distribute-rgt-in sub-neg frac-2neg distribute-lft-in associate-*r/ pow-prod-down clear-num un-div-inv inv-pow
+-commutative sum-log *-commutative
Counts
4 → 134
Calls
4 calls:
15.0ms
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
3.0ms
(+ (* x y) (* z (- t a)))
5.0ms
(/ 1 (+ (* x y) (* z (- t a))))
18.0ms
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
812.0ms
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
39.0ms
(+ (* x y) (* z (- t a)))
52.0ms
(/ 1 (+ (* x y) (* z (- t a))))
255.0ms
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04991409
124011189
250031150

prune295.0ms

Filtered
146 candidates to 80 candidates (54.8%)
Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 20.6b

regimes330.0ms

Accuracy

0% (0.7b remaining)

Error of 23.0b against oracle of 22.3b and baseline of 23.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0239
1239

end0.0ms

sample640.0ms

Algorithm
intervals
Results
349.0ms8420×body80valid