Details

Time bar (total: 6.8s)

sample26.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
17910
221010
348310
491010
5151610
6281810
7500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.2b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite138.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:
9.0ms
(* (+ x y) z)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
39.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
81.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series778.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (+ x y) z)
51.0ms
(+ (* (+ x y) z) (* (+ t y) a))
100.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
606.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify69.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05681186
125261087
250011076

prune604.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 8.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
0.7b
(+ (* (+ x y) z) (* (+ t y) a))
1.8b
(- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b))
23.6b
(/ (- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b)) (+ (+ x t) y))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
18×add-sqr-sqrt
16×add-cube-cbrt
15×times-frac
13×distribute-lft-out
10×associate-*l/
add-exp-log add-cbrt-cube add-log-exp
flip3-+ flip-+
pow1
associate-/r*
expm1-log1p-u associate-*l* frac-add log1p-expm1-u
associate-*r* associate-/l*
flip3-- associate--l+ associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative distribute-rgt-in sub-neg fma-def frac-2neg distribute-lft-in fma-neg diff-log div-sub div-exp prod-diff pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 101
Calls
4 calls:
9.0ms
(* (+ x y) z)
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
13.0ms
(- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b))
40.0ms
(/ (- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b)) (+ (+ x t) y))

series752.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) z)
48.0ms
(+ (* (+ x y) z) (* (+ t y) a))
96.0ms
(- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b))
588.0ms
(/ (- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b)) (+ (+ x t) y))

simplify73.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05911203
128601103
250011087

prune367.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 8.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
0.3b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
1.2b
(- (* (+ t y) a) (* y b))
23.6b
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
132×times-frac
70×add-sqr-sqrt add-cube-cbrt
48×distribute-lft-out
22×associate-/r*
17×add-exp-log
11×add-cbrt-cube
div-exp associate-/l*
div-inv add-log-exp
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u
rec-exp frac-2neg 1-exp clear-num associate-/l/
sub-neg flip3-- pow-flip flip3-+ fma-neg diff-log prod-diff associate-/r/ flip-- flip-+ fma-udef inv-pow
Counts
4 → 167
Calls
4 calls:
20.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
0.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
5.0ms
(- (* (+ t y) a) (* y b))
33.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

series792.0ms

Counts
4 → 12
Calls
4 calls:
568.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
99.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
29.0ms
(- (* (+ t y) a) (* y b))
96.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify63.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04962605
122282401
250022286

prune367.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 3.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
0.7b
(+ (* (+ x y) z) (* (+ t y) a))
1.8b
(- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b))
23.7b
(* (- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
25×add-sqr-sqrt
24×associate-*r*
17×times-frac
16×add-cube-cbrt
15×add-exp-log
12×associate-*l/
11×add-cbrt-cube
10×distribute-lft-out
pow1 add-log-exp
flip3-+ associate-*l* flip-+
prod-exp
expm1-log1p-u frac-add log1p-expm1-u unswap-sqr
flip3-- flip-- cbrt-unprod
frac-times div-exp pow-prod-down associate--l+ associate-/r/ *-commutative
cbrt-undiv +-commutative distribute-rgt-in sub-neg rec-exp fma-def distribute-lft-in fma-neg diff-log 1-exp associate-*r/ prod-diff sum-log un-div-inv div-inv
Counts
4 → 109
Calls
4 calls:
9.0ms
(* (+ x y) z)
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
13.0ms
(- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b))
80.0ms
(* (- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b)) (/ 1 (+ (+ x t) y)))

series739.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) z)
49.0ms
(+ (* (+ x y) z) (* (+ t y) a))
95.0ms
(- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b))
574.0ms
(* (- (* 1 (+ (* (+ x y) z) (* (+ t y) a))) (* y b)) (/ 1 (+ (+ x t) y)))

simplify79.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06711219
132171052
250021039

prune362.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 3.5b

regimes574.0ms

Accuracy

87.2% (2.9b remaining)

Error of 7.3b against oracle of 4.4b and baseline of 26.9b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04333
14533
24533

end0.0ms

sample642.0ms

Algorithm
intervals
Results
361.0ms7998×body80valid
0.0msbody640valid
0.0msbody320valid