Details

Time bar (total: 16.5s)

sample181.0ms

Algorithm
intervals
Results
99.0ms131×body1280valid
32.0ms59×body640valid
12.0ms256×pre80true
7.0ms24×body320valid
3.0ms30×body80valid
3.0ms12×body160valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.8b

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
5.1b
(tan (+ y z))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
8.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series301.0ms

Counts
3 → 9
Calls
3 calls:
124.0ms
(+ x (- (tan (+ y z)) (tan a)))
120.0ms
(- (tan (+ y z)) (tan a))
57.0ms
(tan (+ y z))

simplify92.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune255.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
24×distribute-lft-out
18×fma-neg
14×associate-/r/
13×add-log-exp
flip3-- flip--
tan-quot div-inv
pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* sum-log
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 207
Calls
4 calls:
5.0ms
(+ (tan y) (tan z))
16.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
20.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
6.0ms
(* (tan y) (tan z))

series924.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(+ (tan y) (tan z))
390.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
349.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
94.0ms
(* (tan y) (tan z))

simplify78.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06764084
120873388
250013151

prune737.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize30.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(fma (/ (+ (tan y) (tan z)) (- (pow 1 3) (pow (* (tan y) (tan z)) 3))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
0.3b
(pow (* (tan y) (tan z)) 3)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×tan-quot
11×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
cube-div frac-times pow-unpow associate-*r/ pow-prod-down associate-*l/ prod-exp cbrt-unprod
pow-pow pow-exp *-commutative rem-cube-cbrt unswap-sqr
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod fma-udef sqr-pow
Counts
4 → 83
Calls
4 calls:
6.0ms
(* (tan y) (tan z))
6.0ms
(* (tan y) (tan z))
1.0ms
(fma (/ (+ (tan y) (tan z)) (- (pow 1 3) (pow (* (tan y) (tan z)) 3))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
6.0ms
(pow (* (tan y) (tan z)) 3)

series3.3s

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (tan y) (tan z))
103.0ms
(* (tan y) (tan z))
2.9s
(fma (/ (+ (tan y) (tan z)) (- (pow 1 3) (pow (* (tan y) (tan z)) 3))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
139.0ms
(pow (* (tan y) (tan z)) 3)

simplify72.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0433948
12169882
25001881

prune637.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize33.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (/ (+ (tan y) (tan z)) (- (pow 1 3) (cbrt (pow (pow (* (tan y) (tan z)) 3) 3)))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
0.3b
(pow (pow (* (tan y) (tan z)) 3) 3)
0.3b
(pow (* (tan y) (tan z)) 3)
7.9b
(cbrt (pow (pow (* (tan y) (tan z)) 3) 3))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
22×cbrt-prod
21×unpow-prod-down cube-prod
15×cube-div
12×tan-quot
11×add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-exp add-cbrt-cube
pow1 cube-mult unpow3 sqr-pow
pow-unpow
expm1-log1p-u log1p-expm1-u add-log-exp
frac-times pow-to-exp cbrt-div pow-pow associate-*r/ associate-*l/ rem-cube-cbrt
prod-exp
pow1/3 pow-prod-down rem-cbrt-cube cbrt-unprod fma-udef
Counts
4 → 114
Calls
4 calls:
1.0ms
(fma (/ (+ (tan y) (tan z)) (- (pow 1 3) (cbrt (pow (pow (* (tan y) (tan z)) 3) 3)))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
7.0ms
(pow (pow (* (tan y) (tan z)) 3) 3)
6.0ms
(pow (* (tan y) (tan z)) 3)
7.0ms
(cbrt (pow (pow (* (tan y) (tan z)) 3) 3))

series3.5s

Counts
4 → 12
Calls
4 calls:
3.0s
(fma (/ (+ (tan y) (tan z)) (- (pow 1 3) (cbrt (pow (pow (* (tan y) (tan z)) 3) 3)))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
186.0ms
(pow (pow (* (tan y) (tan z)) 3) 3)
135.0ms
(pow (* (tan y) (tan z)) 3)
150.0ms
(cbrt (pow (pow (* (tan y) (tan z)) 3) 3))

simplify100.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
05701293
128431193
250011184

prune585.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.1b

regimes484.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03228
14028
24228
34228

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.0s3879×body1280valid
925.0ms2024×body640valid
375.0ms8000×pre80true
211.0ms683×body320valid
108.0ms1123×body80valid
62.0ms291×body160valid