Details

Time bar (total: 13.2s)

sample174.0ms

Algorithm
intervals
Results
89.0ms109×body1280valid
32.0ms73×body640valid
11.0ms256×pre80true
7.0ms24×body320valid
4.0ms40×body80valid
2.0ms10×body160valid

simplify27.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.5b

localize12.0ms

Local error

Found 3 expressions with local error:

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

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

series375.0ms

Counts
3 → 9
Calls
3 calls:
159.0ms
(+ x (- (tan (+ y z)) (tan a)))
148.0ms
(- (tan (+ y z)) (tan a))
68.0ms
(tan (+ y z))

simplify104.0ms

Counts
81 → 81
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0276685
1732540
23128507
35001488
done5001488

prune251.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite281.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:
9.0ms
(+ (tan y) (tan z))
146.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
99.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
15.0ms
(* (tan y) (tan z))

series1.2s

Counts
4 → 12
Calls
4 calls:
119.0ms
(+ (tan y) (tan z))
454.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
480.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
114.0ms
(* (tan y) (tan z))

simplify84.0ms

Counts
219 → 219
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06764072
120873376
250013265
done50013265

prune718.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

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

rewrite131.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)))
15.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))
62.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series1.2s

Counts
4 → 12
Calls
4 calls:
368.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
117.0ms
(* (tan y) (tan z))
118.0ms
(* (tan y) (tan z))
608.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify106.0ms

Counts
114 → 114
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
06881785
132721583
250011572
done50011572

prune594.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

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

rewrite389.0ms

Algorithm
rewrite-expression-head
Rules
28×associate-*l/
14×add-sqr-sqrt
13×tan-quot 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 div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
frac-times sub-neg frac-2neg fma-neg diff-log div-sub associate-*r/ prod-diff clear-num associate-/r* div-inv
Counts
4 → 100
Calls
4 calls:
38.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
15.0ms
(* (tan y) (tan z))
13.0ms
(* (tan y) (sin z))
319.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))

series1.1s

Counts
4 → 12
Calls
4 calls:
351.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
108.0ms
(* (tan y) (tan z))
76.0ms
(* (tan y) (sin z))
574.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))

simplify118.0ms

Counts
112 → 112
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
07761871
136561657
250011652
done50011652

prune623.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes339.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03222
13222
done3222

end0.0ms

sample5.3s

Algorithm
intervals
Results
3.1s3905×body1280valid
923.0ms2011×body640valid
375.0ms8000×pre80true
223.0ms717×body320valid
121.0ms1124×body80valid
51.0ms243×body160valid