Details

Time bar (total: 15.4s)

sample171.0ms

Algorithm
intervals
Results
94.0ms126×body1280valid
23.0ms53×body640valid
17.0ms256×pre80true
7.0ms25×body320valid
4.0ms47×body80valid
1.0msbody160valid

simplify65.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
1159
2229
3319
4379
5479
6549
7649
8829
9999
101079
done1079

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.1b

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series317.0ms

Counts
3 → 9
Calls
3 calls:
131.0ms
(+ x (- (tan (+ y z)) (tan a)))
126.0ms
(- (tan (+ y z)) (tan a))
59.0ms
(tan (+ y z))

simplify1.4s

Counts
51 → 51
Iterations

Useful iterations: 3 (135.0ms)

IterNodesCost
091627
1197590
2430572
31029570
43628570
done5000570

prune174.0ms

Pruning

7 alts after pruning (7 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
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.3b
(* (tan y) (tan z))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1
distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
flip3-- flip3-+ frac-add associate-/r/ flip-- flip-+ difference-of-squares
cbrt-undiv +-commutative frac-times sub-neg frac-2neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num sum-log *-commutative frac-sub cbrt-unprod div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 86
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
41.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
12.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
5.0ms
(* (tan y) (tan z))

series885.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(+ (tan y) (tan z))
439.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
239.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
102.0ms
(* (tan y) (tan z))

simplify1.6s

Counts
98 → 98
Iterations

Useful iterations: 3 (737.0ms)

IterNodesCost
01741716
13921641
210351571
328521559
done50001559

prune406.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
42×add-sqr-sqrt
28×times-frac
20×add-cube-cbrt
13×add-exp-log add-cbrt-cube
12×difference-of-squares
associate-/r*
distribute-lft-out
pow1 distribute-lft-out-- add-log-exp
tan-quot associate-/l*
associate-/l/
cbrt-undiv div-exp associate-*r* associate-*l*
flip3-- frac-2neg associate-*l/ prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv
sub-neg flip3-+ diff-log pow-prod-down frac-add *-commutative frac-sub flip-+ unswap-sqr
Counts
4 → 108
Calls
4 calls:
84.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
18.0ms
(/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z))))
5.0ms
(/ (* (tan y) (sin z)) (cos z))
5.0ms
(* (tan y) (sin z))

series864.0ms

Counts
4 → 12
Calls
4 calls:
437.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
248.0ms
(/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z))))
107.0ms
(/ (* (tan y) (sin z)) (cos z))
72.0ms
(* (tan y) (sin z))

simplify709.0ms

Counts
120 → 120
Iterations

Useful iterations: done (700.0ms)

IterNodesCost
02172495
14882396
214182272
done50002256

prune509.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
18×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
10×pow1
associate-*r* associate-*l*
prod-exp cbrt-unprod
associate-/r/
add-log-exp
cbrt-undiv times-frac div-exp pow-prod-down associate-*l/ cos-mult *-commutative associate-/l* unswap-sqr
frac-times flip3-- flip-- associate-/l/
tan-quot frac-2neg flip3-+ associate-*r/ clear-num associate-/r* sin-cos-mult flip-+ div-inv
Counts
4 → 86
Calls
4 calls:
4.0ms
(* (sin y) (cos z))
4.0ms
(* (cos y) (sin z))
4.0ms
(* (tan y) (sin z))
22.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (* (cos y) (cos z))))

series504.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (sin y) (cos z))
51.0ms
(* (cos y) (sin z))
79.0ms
(* (tan y) (sin z))
314.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (* (cos y) (cos z))))

simplify731.0ms

Counts
98 → 98
Iterations

Useful iterations: 2 (194.0ms)

IterNodesCost
02061800
15491771
220091487
done50001487

prune474.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes772.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02435
13335
done3335

end0.0ms

sample5.6s

Algorithm
intervals
Results
3.1s3982×body1280valid
932.0ms1980×body640valid
663.0ms8000×pre80true
216.0ms693×body320valid
108.0ms1076×body80valid
56.0ms269×body160valid