Details

Time bar (total: 13.1s)

sample182.0ms

Algorithm
intervals
Results
100.0ms137×body1280valid
27.0ms65×body640valid
11.0ms256×pre80true
11.0msbody160valid
4.0ms15×body320valid
3.0ms30×body80valid

simplify25.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: 12.6b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.1b
(+ x (- (tan (+ y z)) (tan a)))
3.0b
(tan (+ y z))

rewrite48.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:
22.0ms
(- (tan (+ y z)) (tan a))
16.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(tan (+ y z))

series294.0ms

Counts
3 → 9
Calls
3 calls:
115.0ms
(- (tan (+ y z)) (tan a))
125.0ms
(+ x (- (tan (+ y z)) (tan a)))
53.0ms
(tan (+ y z))

simplify101.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0276685
1732540
23057507
35001488

prune268.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite300.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
115×add-sqr-sqrt
108×add-cube-cbrt prod-diff
97×times-frac
56×associate-+r+
27×distribute-lft-out
18×fma-neg
16×associate-/r/
11×add-log-exp
flip3-- flip--
add-exp-log add-cbrt-cube div-inv
tan-quot
pow1
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg flip3-+ diff-log sum-log flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 227
Calls
4 calls:
28.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
145.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
97.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
15.0ms
(* (tan y) (tan z))

series1.1s

Counts
4 → 12
Calls
4 calls:
234.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
367.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
391.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
98.0ms
(* (tan y) (tan z))

simplify86.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
07044490
122933769
250023667

prune799.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite793.0ms

Algorithm
rewrite-expression-head
Rules
319×*-un-lft-identity
235×add-sqr-sqrt
180×prod-diff
170×times-frac
144×add-cube-cbrt
92×associate-+r+
58×difference-of-squares
44×distribute-lft-out
30×fma-neg distribute-lft-out--
18×add-exp-log add-cbrt-cube
15×associate-/r/
11×add-log-exp
flip3-- flip-- div-inv
pow1
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-def associate-*r* associate-*l*
sub-neg diff-log sum-log sin-mult
tan-quot +-commutative associate-+r- frac-2neg flip3-+ pow-prod-down clear-num associate-/r* cos-mult *-commutative frac-sub flip-+ associate-/l/ associate-/l* unswap-sqr
Counts
4 → 296
Calls
4 calls:
440.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (tan a)))
301.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (tan a))
18.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
13.0ms
(* (sin y) (sin z))

series920.0ms

Counts
4 → 12
Calls
4 calls:
362.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (tan a)))
400.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (tan a))
102.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
55.0ms
(* (sin y) (sin z))

simplify126.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
08467884
130056646
250026457

prune1.1s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (tan a))
0.6b
(cbrt (tan a))
0.6b
(cbrt (tan a))
59.8b
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
tan-quot cbrt-div pow1/3
fma-udef
Counts
4 → 52
Calls
4 calls:
2.0ms
(cbrt (tan a))
2.0ms
(cbrt (tan a))
2.0ms
(cbrt (tan a))
0.0ms
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

series585.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(cbrt (tan a))
128.0ms
(cbrt (tan a))
134.0ms
(cbrt (tan a))
194.0ms
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

simplify109.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (104.0ms)

IterNodesCost
0102427
1211373
2675363
32633349
45002337

prune459.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes403.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03433
13433

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.9s3888×body1280valid
1.1s2005×body640valid
340.0ms8000×pre80true
186.0ms664×body320valid
109.0ms1173×body80valid
52.0ms270×body160valid