Details

Time bar (total: 10.4s)

sample185.0ms

Algorithm
intervals
Results
109.0ms133×body1280valid
29.0ms62×body640valid
11.0ms256×pre80true
7.0ms20×body320valid
3.0ms29×body80valid
3.0ms12×body160valid

simplify20.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.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
2.4b
(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)))
8.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series288.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune161.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)) (- 1 (* (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))

rewrite131.0ms

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

series1.0s

Counts
4 → 12
Calls
4 calls:
212.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
332.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
379.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
91.0ms
(* (tan y) (tan z))

simplify47.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04491261
115031213
250011205

prune353.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan y))
0.3b
(* (tan z) (tan z))
3.1b
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (* (- 1 (* (tan y) (tan z))) (- (tan y) (tan z))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
42×tan-quot
22×add-sqr-sqrt
20×pow1
16×add-cube-cbrt *-un-lft-identity
15×add-exp-log frac-times add-cbrt-cube
12×associate-*r/ frac-sub
11×associate-*l/ associate-/r/ associate-/l/
associate-*r* associate-*l*
flip3-- flip--
swap-sqr
times-frac prod-exp cbrt-unprod associate-/l* add-log-exp
pow-prod-down *-commutative unswap-sqr
cbrt-undiv pow2 pow-plus div-exp pow-sqr pow-prod-up difference-of-squares
frac-2neg div-sub clear-num associate-/r* div-inv
Counts
4 → 123
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan y))
5.0ms
(* (tan z) (tan z))
23.0ms
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (* (- 1 (* (tan y) (tan z))) (- (tan y) (tan z))))

series511.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan y) (tan z))
37.0ms
(* (tan y) (tan y))
32.0ms
(* (tan z) (tan z))
350.0ms
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (* (- 1 (* (tan y) (tan z))) (- (tan y) (tan z))))

simplify85.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06051299
129651134
250011063

prune528.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

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

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

series960.0ms

Counts
4 → 12
Calls
4 calls:
476.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
94.0ms
(* (tan y) (tan z))
93.0ms
(* (tan y) (tan z))
297.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))

simplify93.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
06551681
130941507
250021490

prune460.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes333.0ms

Accuracy

0% (0.2b 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
03624
13624

end0.0ms

sample5.0s

Algorithm
intervals
Results
3.1s3957×body1280valid
901.0ms1985×body640valid
359.0ms8000×pre80true
206.0ms657×body320valid
102.0ms1113×body80valid
64.0ms288×body160valid