Details

Time bar (total: 9.3s)

sample32.0ms

Algorithm
intervals
Results
16.0ms256×body80valid

simplify105.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
03310
17910
221010
348310
491010
5151610
6281810
7500110

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.7b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.1b
(+ (* (+ x y) z) (* (+ t y) a))
2.1b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
25.0b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
20×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
13×distribute-lft-out
11×add-log-exp
10×associate-*l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1
associate-/r*
expm1-log1p-u associate-*l* frac-add log1p-expm1-u
fma-neg associate-*r* prod-diff associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg div-sub div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 105
Calls
4 calls:
12.0ms
(* (+ t y) a)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
42.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
89.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series855.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (+ t y) a)
53.0ms
(+ (* (+ x y) z) (* (+ t y) a))
110.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
669.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify96.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
05641186
125091087
250021077

prune473.0ms

Filtered
117 candidates to 93 candidates (79.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.4b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.1b
(+ (* (+ x y) z) (* (+ t y) a))
2.1b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
25.0b
(/ (pow (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) 1) (+ (+ x t) y))

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
35×times-frac
30×add-sqr-sqrt
28×add-cube-cbrt
25×distribute-lft-out
18×unpow-prod-down
11×add-exp-log add-log-exp
10×associate-*l/
add-cbrt-cube
flip3-+ flip-+ associate-/l*
pow1 sqr-pow
associate-/r*
expm1-log1p-u associate-*l* frac-add log1p-expm1-u
fma-neg div-exp associate-*r* prod-diff
diff-log sum-log associate-/r/
cbrt-undiv +-commutative pow-to-exp sub-neg flip3-- fma-def frac-2neg pow-prod-down pow-exp prod-exp associate--l+ clear-num *-commutative flip-- cbrt-unprod div-inv unswap-sqr
Counts
4 → 128
Calls
4 calls:
10.0ms
(* (+ t y) a)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
43.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
117.0ms
(/ (pow (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) 1) (+ (+ x t) y))

series853.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (+ t y) a)
52.0ms
(+ (* (+ x y) z) (* (+ t y) a))
108.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
667.0ms
(/ (pow (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) 1) (+ (+ x t) y))

simplify93.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
05871675
125721491
250021486

prune472.0ms

Filtered
140 candidates to 92 candidates (65.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
0.5b
(fma (+ x y) z (* (+ t y) a))
9.0b
(/ (* y b) (+ (+ x t) y))
23.4b
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

rewrite410.0ms

Algorithm
rewrite-expression-head
Rules
2010×*-un-lft-identity
1804×times-frac
804×add-sqr-sqrt
792×add-cube-cbrt
781×prod-diff
729×distribute-lft-out
174×associate-/r/
153×div-inv
87×flip3-+ flip-+
71×fma-neg
16×add-exp-log
14×add-cbrt-cube associate-/l*
10×associate-/r*
div-exp
add-log-exp
cbrt-undiv
pow1 expm1-log1p-u log1p-expm1-u difference-of-squares
distribute-rgt-out--
frac-2neg clear-num
sub-neg flip3-- diff-log 1-exp prod-exp frac-sub flip-- cbrt-unprod fma-udef associate-/l/ distribute-lft-out-- sub-div
Counts
4 → 1018
Calls
4 calls:
242.0ms
(- (/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
0.0ms
(fma (+ x y) z (* (+ t y) a))
20.0ms
(/ (* y b) (+ (+ x t) y))
28.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

series1.1s

Counts
4 → 12
Calls
4 calls:
726.0ms
(- (/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
53.0ms
(fma (+ x y) z (* (+ t y) a))
82.0ms
(/ (* y b) (+ (+ x t) y))
255.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

simplify412.0ms

Algorithm
egg-herbie
Counts
1030 → 1030
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0157239498
1492829750
2500129750

prune1.5s

Filtered
1030 candidates to 259 candidates (25.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.7b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ b (+ (+ x t) y))
0.5b
(fma (+ x y) z (* (+ t y) a))
8.3b
(* y (/ b (+ (+ x t) y)))
23.4b
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
185×*-un-lft-identity
150×times-frac
85×add-sqr-sqrt
80×add-cube-cbrt
63×distribute-lft-out
21×associate-*r*
18×add-exp-log
16×add-cbrt-cube associate-/l*
10×associate-/r*
div-inv
div-exp
pow1 associate-/r/
cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-+ associate-*l* flip-+
frac-2neg prod-exp clear-num cbrt-unprod unswap-sqr
1-exp associate-*r/ pow-prod-down *-commutative fma-udef associate-/l/
Counts
4 → 194
Calls
4 calls:
19.0ms
(/ b (+ (+ x t) y))
0.0ms
(fma (+ x y) z (* (+ t y) a))
47.0ms
(* y (/ b (+ (+ x t) y)))
24.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

series430.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(/ b (+ (+ x t) y))
59.0ms
(fma (+ x y) z (* (+ t y) a))
78.0ms
(* y (/ b (+ (+ x t) y)))
251.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

simplify85.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05722047
124481871
250011770

prune540.0ms

Filtered
206 candidates to 110 candidates (53.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 1.9b

regimes447.0ms

Accuracy

18.8% (17.8b remaining)

Error of 21.0b against oracle of 3.2b and baseline of 25.1b

bsearch176.0ms

Steps
ItersRangePoint
8
1.4335675947829838e+174
4.6274022444189675e+176
2.0673661513817186e+176
9
2.3144144560510123e+88
2.0064946183526016e+94
2.570722063616475e+90
8
-3.3874302974164365e+82
-7.3623446530485255e+78
-9.596217258396559e+78

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03936
13936

end0.0ms

sample698.0ms

Algorithm
intervals
Results
397.0ms7999×body80valid
0.0msbody1280valid