Details

Time bar (total: 10.9s)

sample164.0ms

Algorithm
intervals
Results
88.0ms109×body1280valid
30.0ms73×body640valid
10.0ms256×pre80true
7.0ms24×body320valid
4.0ms40×body80valid
2.0ms10×body160valid

simplify18.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.5b

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))
4.2b
(tan (+ y z))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
18.0ms
(+ x (- (tan (+ y z)) (tan a)))
16.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series301.0ms

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

simplify42.0ms

Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334
done5002334

prune144.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

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

rewrite233.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
8.0ms
(+ (tan y) (tan z))
130.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
76.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
17.0ms
(* (tan y) (tan z))

series1.0s

Counts
4 → 12
Calls
4 calls:
98.0ms
(+ (tan y) (tan z))
393.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
413.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
97.0ms
(* (tan y) (tan z))

simplify78.0ms

Counts
79 → 79
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0367860
11074821
23057814
35001814
done5001814

prune289.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

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

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
flip3-+ frac-add flip-+
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 diff-log div-sub clear-num associate-/r* div-inv
Counts
4 → 92
Calls
4 calls:
34.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
15.0ms
(* (tan y) (tan z))
14.0ms
(* (tan y) (tan z))
59.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series1.0s

Counts
4 → 12
Calls
4 calls:
318.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
97.0ms
(* (tan y) (tan z))
98.0ms
(* (tan y) (tan z))
517.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify88.0ms

Counts
104 → 104
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06551689
130931518
250011501
done50011501

prune480.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

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 1) (* (* (tan y) (tan z)) (* (tan y) (tan z)))) (cos a)))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
44×tan-quot
27×associate-*l/
25×add-exp-log add-cbrt-cube
19×frac-times pow-prod-down
14×add-sqr-sqrt
13×associate-*r/
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity
associate-/l/
associate-*r* associate-*l*
frac-sub
flip3-- flip--
pow-sqr pow-prod-up add-log-exp
times-frac *-commutative associate-/l*
cbrt-undiv flip3-+ pow-plus div-exp frac-add associate-/r/ flip-+ unswap-sqr
pow2 frac-2neg div-sub swap-sqr clear-num associate-/r* div-inv
Counts
4 → 123
Calls
4 calls:
15.0ms
(* (tan y) (tan z))
14.0ms
(* (tan y) (tan z))
75.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- (* 1 1) (* (* (tan y) (tan z)) (* (tan y) (tan z)))) (cos a)))
67.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series861.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(* (tan y) (tan z))
96.0ms
(* (tan y) (tan z))
551.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- (* 1 1) (* (* (tan y) (tan z)) (* (tan y) (tan z)))) (cos a)))
119.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify90.0ms

Counts
135 → 135
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06991719
135671461
250011460
done50011460

prune520.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes298.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
03329
13529
23529
done3529

end0.0ms

sample4.8s

Algorithm
intervals
Results
2.9s3905×body1280valid
845.0ms2011×body640valid
296.0ms8000×pre80true
216.0ms717×body320valid
93.0ms1124×body80valid
46.0ms243×body160valid