Details

Time bar (total: 6.5s)

sample24.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.4b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.0b
(+ (* (+ x y) z) (* (+ t y) a))
2.0b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
24.0b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite308.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
11×add-log-exp
10×associate-*l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1
associate-/r*
associate-*l* frac-add
associate-*r* associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg div-sub div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
10.0ms
(* (+ x y) z)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
216.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
73.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series741.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05231089
123081025
250011025

prune299.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 7.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
1.0b
(+ (* (+ x y) z) (* (+ t y) a))
8.8b
(/ (* y b) (+ (+ x t) y))
20.7b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite211.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
21×add-sqr-sqrt times-frac
18×distribute-lft-out
16×add-cube-cbrt associate-*l/
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×associate-/r*
frac-add associate-/r/ add-log-exp
associate-/l/
pow1 div-inv associate-/l*
cbrt-undiv distribute-rgt-out-- div-exp
frac-2neg clear-num difference-of-squares
+-commutative sub-neg flip3-- diff-log prod-exp sum-log frac-sub flip-- cbrt-unprod distribute-lft-out-- sub-div
Counts
4 → 105
Calls
4 calls:
150.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
18.0ms
(/ (* y b) (+ (+ x t) y))
33.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series1.0s

Counts
4 → 12
Calls
4 calls:
685.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
47.0ms
(+ (* (+ x y) z) (* (+ t y) a))
66.0ms
(/ (* y b) (+ (+ x t) y))
209.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify76.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05621293
126741218
250021218

prune337.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (+ x t) y) b)
1.0b
(+ (* (+ x y) z) (* (+ t y) a))
8.8b
(/ y (/ (+ (+ x t) y) b))
20.7b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
180×*-un-lft-identity
147×times-frac
80×add-sqr-sqrt add-cube-cbrt
60×distribute-lft-out
27×associate-/r*
16×associate-*l/
13×add-exp-log add-cbrt-cube
12×flip3-+ flip-+
11×associate-/l*
frac-add associate-/l/
div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/r/
+-commutative sum-log
Counts
4 → 189
Calls
4 calls:
32.0ms
(/ (+ (+ x t) y) b)
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
20.0ms
(/ y (/ (+ (+ x t) y) b))
33.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series406.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (+ (+ x t) y) b)
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
135.0ms
(/ y (/ (+ (+ x t) y) b))
205.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify87.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07261823
134781734
250011733

prune524.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ b (+ (+ x t) y))
1.0b
(+ (* (+ x y) z) (* (+ t y) a))
8.1b
(* y (/ b (+ (+ x t) y)))
20.7b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
46×times-frac
39×add-sqr-sqrt
34×add-cube-cbrt
33×distribute-lft-out
21×associate-*r*
16×associate-*l/
13×add-exp-log flip3-+ add-cbrt-cube flip-+
10×associate-/r*
frac-add
pow1 associate-/r/ associate-/l/ associate-/l* add-log-exp
cbrt-undiv div-exp associate-*l* div-inv
frac-2neg prod-exp clear-num cbrt-unprod unswap-sqr
+-commutative associate-*r/ pow-prod-down sum-log *-commutative
Counts
4 → 135
Calls
4 calls:
17.0ms
(/ b (+ (+ x t) y))
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
39.0ms
(* y (/ b (+ (+ x t) y)))
33.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series361.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ b (+ (+ x t) y))
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
70.0ms
(* y (/ b (+ (+ x t) y)))
208.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify68.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05491202
127051118
250011118

prune379.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 2.2b

regimes386.0ms

Accuracy

8% (20.2b remaining)

Error of 23.1b against oracle of 2.9b and baseline of 24.9b

bsearch301.0ms

Steps
ItersRangePoint
7
9.527769158271123e+230
6.307412931937878e+232
9.710984417321525e+230
7
2.2403849999126312e-203
5.336812281805387e-201
6.764295827651096e-203
8
-3.60492936257594e-271
-1.3606216317788122e-275
-2.8607533668137723e-271
8
-2.9487660899258344e-168
-1.0891363728484868e-171
-6.687658727110805e-170
7
-1571706.2701315084
-6296.219699052463
-485115.4001107813
8
-2.02871990001622e+135
-4.08314403078979e+130
-1.5070868377098019e+134
7
-1.2429840927979902e+173
-1.4860138911190977e+171
-1.510420172746674e+171

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06263
16263

end0.0ms

sample586.0ms

Algorithm
intervals
Results
330.0ms7997×body80valid
0.0msbody320valid