Details

Time bar (total: 10.5s)

sample166.0ms

Algorithm
intervals
Results
95.0ms120×body1280valid
26.0ms60×body640valid
11.0ms256×pre80true
9.0ms32×body320valid
3.0ms37×body80valid
1.0msbody160valid

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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.1b

localize11.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.2b
(tan (+ y z))

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

series283.0ms

Counts
3 → 9
Calls
3 calls:
119.0ms
(+ x (- (tan (+ y z)) (tan a)))
114.0ms
(- (tan (+ y z)) (tan a))
50.0ms
(tan (+ y z))

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune147.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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:
23.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
11.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series933.0ms

Counts
4 → 12
Calls
4 calls:
464.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
288.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
90.0ms
(* (tan y) (tan z))
91.0ms
(* (tan y) (tan z))

simplify90.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06551681
130861507
250011490

prune490.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
27×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
flip3-+ frac-add flip-+
times-frac prod-exp cbrt-unprod associate-/l*
cbrt-undiv associate-*r/ div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
frac-times sub-neg frac-2neg diff-log div-sub clear-num associate-/r* div-inv
Counts
4 → 90
Calls
4 calls:
26.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
4.0ms
(* (sin y) (tan z))
14.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
5.0ms
(* (tan y) (tan z))

series936.0ms

Counts
4 → 12
Calls
4 calls:
477.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
78.0ms
(* (sin y) (tan z))
290.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
92.0ms
(* (tan y) (tan z))

simplify92.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07421761
135311580
250011579

prune542.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series465.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(* (sin y) (tan z))
81.0ms
(* (sin y) (tan z))
212.0ms
(/ (* (- 1 (* (tan y) (tan z))) (sin a)) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
93.0ms
(* (tan y) (tan z))

simplify58.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0419915
12111717
25001717

prune430.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes584.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
03222
13222

end0.0ms

sample5.0s

Algorithm
intervals
Results
3.0s3876×body1280valid
896.0ms2012×body640valid
320.0ms8000×pre80true
214.0ms682×body320valid
114.0ms1118×body80valid
70.0ms312×body160valid