Details

Time bar (total: 11.2s)

sample168.0ms

Algorithm
intervals
Results
91.0ms125×body1280valid
31.0ms65×body640valid
10.0ms256×pre80true
6.0ms20×body320valid
3.0ms36×body80valid
2.0ms10×body160valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.2b

localize17.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.5b
(tan (+ y z))

rewrite41.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:
15.0ms
(+ x (- (tan (+ y z)) (tan a)))
17.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(tan (+ y z))

series267.0ms

Counts
3 → 9
Calls
3 calls:
110.0ms
(+ x (- (tan (+ y z)) (tan a)))
105.0ms
(- (tan (+ y z)) (tan a))
52.0ms
(tan (+ y z))

simplify88.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune218.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
28×associate-*l/
16×tan-quot
14×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
12×frac-sub
10×add-cube-cbrt *-un-lft-identity
flip3-- flip--
pow1 associate-/l/
associate-*r* associate-*l* add-log-exp
expm1-log1p-u flip3-+ frac-add flip-+ log1p-expm1-u
times-frac prod-exp cbrt-unprod associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
sub-neg frac-2neg fma-neg diff-log div-sub prod-diff clear-num associate-/r* div-inv
Counts
4 → 102
Calls
4 calls:
34.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
56.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
14.0ms
(* (tan y) (tan z))
18.0ms
(* (tan y) (tan z))

series885.0ms

Counts
4 → 12
Calls
4 calls:
273.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
443.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
87.0ms
(* (tan y) (tan z))
82.0ms
(* (tan y) (tan z))

simplify91.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06881785
132651583
250021572

prune566.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
tan-quot pow1
associate-*r* associate-*l*
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
times-frac prod-exp cbrt-unprod associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
flip3-- frac-2neg clear-num associate-/r* flip-- fma-udef div-inv
Counts
4 → 81
Calls
4 calls:
0.0ms
(fma (+ (tan y) (tan z)) (cos a) (- (* (- 1 (* (tan y) (tan z))) (sin a))))
15.0ms
(/ (fma (+ (tan y) (tan z)) (cos a) (- (* (- 1 (* (tan y) (tan z))) (sin a)))) (* (- 1 (* (tan y) (tan z))) (cos a)))
14.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))

series856.0ms

Counts
4 → 12
Calls
4 calls:
260.0ms
(fma (+ (tan y) (tan z)) (cos a) (- (* (- 1 (* (tan y) (tan z))) (sin a))))
427.0ms
(/ (fma (+ (tan y) (tan z)) (cos a) (- (* (- 1 (* (tan y) (tan z))) (sin a)))) (* (- 1 (* (tan y) (tan z))) (cos a)))
81.0ms
(* (tan y) (tan z))
87.0ms
(* (tan y) (tan z))

simplify41.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03231191
111771031
250021025

prune440.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
(/ (* (sin y) (tan z)) (cos y))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
0.2b
(* (tan y) (tan z))
0.2b
(* (sin y) (tan z))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
15×associate-*l/
12×add-cube-cbrt *-un-lft-identity
10×tan-quot
associate-/l/
pow1
times-frac associate-*r* associate-*l* frac-sub
flip3-- flip--
cbrt-undiv expm1-log1p-u div-exp prod-exp associate-/r* cbrt-unprod log1p-expm1-u associate-/l* add-log-exp
associate-*r/
frac-2neg flip3-+ pow-prod-down frac-add clear-num associate-/r/ *-commutative flip-+ div-inv unswap-sqr
frac-times div-sub
Counts
4 → 102
Calls
4 calls:
14.0ms
(/ (* (sin y) (tan z)) (cos y))
64.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
14.0ms
(* (tan y) (tan z))
12.0ms
(* (sin y) (tan z))

series696.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (* (sin y) (tan z)) (cos y))
446.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
86.0ms
(* (tan y) (tan z))
69.0ms
(* (sin y) (tan z))

simplify76.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06521459
131491264
250011264

prune546.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

regimes690.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03423
13423

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.1s3834×body1280valid
923.0ms2063×body640valid
294.0ms8000×pre80true
215.0ms677×body320valid
104.0ms1128×body80valid
60.0ms298×body160valid