Details

Time bar (total: 11.4s)

sample164.0ms

Algorithm
intervals
Results
88.0ms125×body1280valid
31.0ms65×body640valid
9.0ms256×pre80true
5.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

localize10.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))

rewrite46.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:
20.0ms
(+ x (- (tan (+ y z)) (tan a)))
17.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series305.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune215.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))

rewrite125.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:
32.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
57.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
17.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))

series1.0s

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

simplify88.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06881785
132651583
250021572

prune562.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))))
13.0ms
(/ (fma (+ (tan y) (tan z)) (cos a) (- (* (- 1 (* (tan y) (tan z))) (sin a)))) (* (- 1 (* (tan y) (tan z))) (cos a)))
17.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))

series976.0ms

Counts
4 → 12
Calls
4 calls:
296.0ms
(fma (+ (tan y) (tan z)) (cos a) (- (* (- 1 (* (tan y) (tan z))) (sin a))))
488.0ms
(/ (fma (+ (tan y) (tan z)) (cos a) (- (* (- 1 (* (tan y) (tan z))) (sin a)))) (* (- 1 (* (tan y) (tan z))) (cos a)))
96.0ms
(* (tan y) (tan z))
96.0ms
(* (tan y) (tan z))

simplify44.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03231193
111771033
250021026

prune433.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.1b

localize27.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))

rewrite111.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))
63.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))
16.0ms
(* (sin y) (tan z))

series785.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (* (sin y) (tan z)) (cos y))
504.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
95.0ms
(* (tan y) (tan z))
79.0ms
(* (sin y) (tan z))

simplify77.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06521457
131491262
250011262

prune560.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.1b

regimes772.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
02920
13120
23120

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.8s3834×body1280valid
1.1s2063×body640valid
294.0ms8000×pre80true
193.0ms677×body320valid
92.0ms1128×body80valid
56.0ms298×body160valid